Answer the following statements true (T) or false (F)
1. When C++ is working with an operator, it strives to convert the operands to the same type.
2. When a program uses the setw manipulator, the iosetwidth header file must be included in a preprocessor directive.
3. The following statement will output $5.00 to the screen:
cout << setprecision(5) << dollars << endl;
4. In C++, it is impossible to display the number 34.789 in a field of 9 spaces with 2 decimal places of precision.
5. The fixed manipulator causes a number to be displayed in scientific notation.
1. T
2. F
3. F
4. F
5. F
You might also like to view...
In the 1980s, nearly all PCs running on the Intel chip used ________ as their operating system
Fill in the blank(s) with correct word
Information systems can provide some or all of the data needed for strategic and tactical planning but not operational planning.
Answer the following statement true (T) or false (F)