Solved

Suppose That X and Y Are Int Variables,z Is a Double

Question 20

Multiple Choice
Suppose that x and y are int variables,z is a double variable,and 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

Suppose that x and y are int variables,z is a double variable,and 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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents