Solved

Suppose That X Is an Int Variable and Y Is

Question 26

Multiple Choice

Suppose that x is an int variable and y is a double variable.The input is:​ 10 20.7

Choose the values after the following statement executes: cin >> x >> y;.


A) x = 10, y = 20
B) x = 10, y = 20.0
C) x = 10, y = 20.7
D) x = 10, y = 21.0

Correct Answer:

verifed

Verified

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

Related Questions