in calculator what this line means
cout << "**************************************" << endl;
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.
Comments
Leave a comment