Consider the following statements: 
struct rectangleData{  double length;  double width;  double area;  double perimeter;}; 
rectangleData bigRect;Which of the following statements is valid in C++?

A. cin >> bigRect;
B. cin >> bigRect.length;
C. perimeter = 2 * (length + width);
D. area = length * width;

Answer: B

Computer Science & Information Technology

You might also like to view...

The area of a chart bounded by the axes.

A. data labels B. legend C. plot area

Computer Science & Information Technology

One way of pasting text is:

A) pressing Ctrl+a. B) clicking the Paste button on the View tab. C) pressing Ctrl+c. D) clicking the Paste button on the Home tab.

Computer Science & Information Technology