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:
Verified
Q5: Suppose that x and y are int
Q6: Suppose that ch1, ch2, and ch3 are
Q7: Suppose that alpha is an int variable
Q8: The number of input data extracted by
Q9: Suppose that x is an int variable,
Q11: In the statement cin >> x;, x
Q12: Suppose that x is an int variable,
Q13: When reading data into a char variable,
Q14: Suppose that x is an int variable,
Q15: The extraction operator >> skips only all
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents