Answer to Question #181982 in C++ for rocky

Question #181982

in calculator what this line means

cout << "**************************************" << endl;


1
Expert's answer
2021-04-15T15:50:24-0400

The statement cout << "**************************************" << endl; produces the following output on screen:

"**************************************

followed by a new line space.


The statement prompts that the current calculation has been completed and input to new calculations may be made in.


In other words, the statement indicates the end of calculations for the given input.

The word endl produces the new line space after the *******************************.


This way a new calculation can be begin.


The statement cout << "**************************************" << endl; can also be taken as the start of new calculations.



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