Question #280936

Show the printout of the following code:


double amount = 5;


cout << amount / 2 << endl


cout << 5 / 2 << endl;

Expert's answer

OUTPUT

2.5

2


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