Answer to Question #280936 in C++ for She

Question #280936

Show the printout of the following code:


double amount = 5;


cout << amount / 2 << endl


cout << 5 / 2 << endl;

1
Expert's answer
2021-12-20T09:57:31-0500

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog