Which of the following will allow the user to input the values 15 and 20 and have them stored in variables named base and height, respectively?

a. cin << base << height;
b. cin base, height;
c. cin >> base >> height;
d. cin base >> cin height;
e. None of these


Ans: c. cin >> base >> height;

Computer Science & Information Technology

You might also like to view...

What are the keyboard shortcuts for Paragraph Rules?

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ event or delegate can be used to call multiple methods.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The keyword ____________________ is the last line of a For loop.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When using automation with the Audio Mixer, where do the keyframes appear?

What will be an ideal response?

Computer Science & Information Technology