Suppose that x and y are int variables, and z is a double variable. The input is:
?
28 32.6 12
?
Choose the values of x, y, and z after the following statement executes:
?
cin >> x >> y >> z;
?

A. x = 28, y = 32, z = 0.6
B. x = 28, y = 32, z = 12.0
C. x = 28, y = 12, z = 32.6
D. x = 28, y = 12, z = 0.6

Answer: A

Computer Science & Information Technology

You might also like to view...

Excel uses ________ to determine what categories are visible in a chart

Fill in the blank(s) with correct word

Computer Science & Information Technology

What balance after the following code is executed?

int balance = 10; while (balance >= 1) { if (balance < 9) continue; balance = balance - 9; } A. -1 B. 0 C. 1 D. 2 E. The loop does not end

Computer Science & Information Technology