this is a C++ question, and the answer have to be in only one statement b. The user has to input the choice. Display the appropriate message when the user entersan invalid input.Based on the choice...


this is a C++ question, and the answer have to be in only one statement


Question 1<br>a. Display the following<br>CALCULATION OF VOLUMES<br>[СHOICE]<br>[SHAPE]<br>1<br>Cuboid<br>Sphere<br>Cylinder<br>4<br>Exit<br>Enter your choice-><br>b. The user has to input the choice. Display the appropriate message when the user enters<br>an invalid input.<br>Based on the choice entered, get the data required from user and display the volume<br>of the shape chosen.<br>с.<br>d. The program will loop again start from step 1. The process will only stop when the<br>user enters choice 4 (The program will remain to loop if the enter choice is not<br>4).<br>e. After the program exit from the loop, display the total_volume and average for<br>all the shape that have been calculated in the<br>program.<br>f. End the program by giving closing message to the user.<br>

Extracted text: Question 1 a. Display the following CALCULATION OF VOLUMES [СHOICE] [SHAPE] 1 Cuboid Sphere Cylinder 4 Exit Enter your choice-> b. The user has to input the choice. Display the appropriate message when the user enters an invalid input. Based on the choice entered, get the data required from user and display the volume of the shape chosen. с. d. The program will loop again start from step 1. The process will only stop when the user enters choice 4 (The program will remain to loop if the enter choice is not 4). e. After the program exit from the loop, display the total_volume and average for all the shape that have been calculated in the program. f. End the program by giving closing message to the user.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here