In a C++ program, one and two are double variables and input values are 10.5 and 30.6. After the statement cin >> one >> two; executes, ____.

A. one = 10.5, two = 10.5
B. one = 10.5, two = 30.6
C. one = 30.6, two = 30.6
D. one = 11, two = 31

Answer: B

Computer Science & Information Technology

You might also like to view...

When the condition following an if statement evaluates to false, the statements associated with the if statement will be skipped

Indicate whether the statement is true or false

Computer Science & Information Technology

Match the following terms with their description

I. Variable II. Event III. Message box IV. Power View V. Input box A. Created using the MsgBox command B. Used to increase the interactivity of a dashboard C. Action initiated either by a user or by VBA code D. Space in a computer's memory E. Interactive data visualization

Computer Science & Information Technology