Answer to Question #3166 in C++ for fmn

Question #3166
What is the output if x=150

if (x <= 200)
if (x < 100)
if (x <= 0)
printf("A\n");
else
printf("B\n");
else
printf("C\n");
else
printf("D\n");
1
Expert's answer
2011-06-17T09:55:36-0400
Since& 150 < 200 but > 100 the output will be "C/n".

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS