Question: uppose that x is an int variable and y is a double variable and the input is: 1 0 2 0 . 7 Choose the

uppose that x is an int variable and y is a double variable and the input is:
1020.7
Choose the values after the following statement executes: cin >> x >> y;.
x =10, y =20
x =10, y =20.0
x =10, y =20.7
x =10, y =21.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!