Answer to Question #237021 in C++ for c++

Question #237021

after the execution of the following code, what will be the value of x?

int x=5;

if(x>5)

x=x+10;

else if(x<3)

x=x-5;

else x=100;


1
Expert's answer
2021-09-14T05:18:06-0400

x will be equal 100


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