Chapter 2 Quiz Starting Out With C++ 007

7) You need to enter the length, width, and height while executing a program. Which cin statement should be used from the following?

a. cin << length, width, height;
b. cin.get(length, width, height);
c. cin >> length >> width >> height;
d. cin >> length, width, height;

No comments:

Post a Comment