Math, asked by deepikajuluri, 6 months ago

1.
2.
3.
1. int a = 9, b = 7, C = 8, d = 4, e
2.e = a + b + c + d / 4
if (e> 5)
print "PASS
5. else
print "FAIL
5.
6.


Answers

Answered by meghanareddy2411
0

didn't get u mate sry ..........

Answered by poojan
1

Given skeleton code:

int a = 9, b = 7, C = 8, d = 4, e

e = a + b + c + d / 4

if (e> 5)

   print 'PASS '

else

  print 'FAIL'

Output:

PASS

Note:

  • If we take the given block of code as a skeleton one, at statement 2, d/4 will be processed first 4/4=1 and then 9+7+8+1 > 5. So, as e>5, 'PASS' will be printed.
  • But, if we take it as a complete programming code, COMPILE time error will be raised as there are plenty of syntax errors. No semicolons or perfect IO statements are the reasons.

Learn more:

1. Ch+=2 is equivalent to​

https://brainly.in/question/21331324

2. True or false: to join two strings,use the dollar ($) character.

brainly.in/question/21624446

Similar questions