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;


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS