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 general terms, a program that is broken into smaller units of code such as methods, is known as a____________.
a. tiered project solution b. method-based solution c. modularized program d. divisional program
Which statement is false?
a. A DELETE statement removes rows from a table. b. A DELETE statement must specify the table from which to delete. c. A DELETE statement starts with the keyword DELETE. d. A WHERE clause must be present in a DELETE statement.
You cannot use a compound condition to update a row.
Answer the following statement true (T) or false (F)
The icon in the top red box of the accompanying figure indicates that the font is ______________.
Fill in the blank(s) with the appropriate word(s).