The boldface statement in Listing 3 prints:
cout << "10 divided by 3 to two decimal digits is: " << 10.0/3.0; return 0; }//end main Listing 3 |
This value is printed in the format specified earlier.
The program prints the following:
10 divided by 3 to two decimal digits is: 3.33