What will be the output of the following pseudocode ? int a, b, c; b = 5, a = 2, c = 2; if(b>a && a>c && c>b) { b = a + 1; } else a = b + 1; printf("%d",a + b + c);
Answers
Answered by
2
Answer:
13
Explanation:
if loop fails and else loop runs ,so the final value is 6+5+2 = 13
Similar questions