Answer the following statements true (T) or false (F)

1. The cin object can be used to input more than one value in a single statement.
2. The following two statements will assign the same value to result.
result = a + b * c;
result = b * c + a;

3. When an operator's operands are of different data types, such as int and double, C++ automatically converts one of them so that they are the same data type.
4. The following pair of C++ statements is legal.
const double taxRate;
taxRate = .05;

5. The following C++ statement will assign 1.5 to the result variable.
int result = 3.0 / 2.0;

1. TRUE
2. TRUE
3. TRUE
4. FALSE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Performing a ________ involves changing the value in a cell to see what effect it has on values in other cells that are calculated using that value

A) why analysis B) 3-D analysis C) what-if analysis D) data point analysis

Computer Science & Information Technology

Which of the following is the broadcast address for a network defined as 192.168.0.0/24?

A. 192.168.0.255 B. 192.168.0.1 C. 192.168.0.0 D. 192.168.0.253

Computer Science & Information Technology