Display the following CALCULATION OF VOLUMES [CHOICE] [SHAPE] 1               Cuboid 2               Sphere 3               Cylinder 4                Exit Enter your choice-> b. The user has to input the choice. Display the appropriate message when the user enters invalid input. c. Based on the choice entered, get the data required from the 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 shapes that have been calculated in the program. f. End the program by giving a closing message to the user

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 4.9CP
icon
Related questions
Question

Display the following

CALCULATION OF VOLUMES

[CHOICE] [SHAPE]
1               Cuboid
2               Sphere
3               Cylinder
4                Exit
Enter your choice->

b. The user has to input the choice. Display the appropriate message when the user enters invalid input.

c. Based on the choice entered, get the data required from the 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 shapes that have been calculated in the program.

f. End the program by giving a closing message to the user. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Basics of loop
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage