Write the c++ code segment to declare an array size 50


Problem:

Question 1: Write the necessary c++ code segment to declare an array size 50 to store objects of type rectangleType and prompt user to enter 50 rectangle dimensions and store them in the array.

Question 2: Write the necessary c++ code segment to declare a vector to store objects of type rectangleType and prompt user to enter 10 rectangle dimensions and store them in the array.

Please describe the code of the program with comments.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write the c++ code segment to declare an array size 50
Reference No:- TGS0891371

Expected delivery within 24 Hours