Assume that x is a double variable that has been initialized. Write a statement that prints it out, guaranteed to have a decimal point, but without forcing scientific (also known as exponential or e-notation).
.
.
Click on the title for the solution
.
.
.
Click on the title for the solution
.
.
This is the answer:
:
cout<<showpoint<<x;
Comments
Post a Comment