Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

C++ help please, I just need help figuring out the sphere part.Thanks A local scientific lab stores hazardous chemicals for local manufacturing companies until the

C++ help please, I just need help figuring out the sphere part.Thanks

image text in transcribed

A local scientific lab stores hazardous chemicals for local manufacturing companies until the can be properly y disposed of The lab would like for you to wan a C++program to calculate the storage charges based on the volume of the shape required for the particular material being stored. a) The user will enter the name of the company requesting the storage, the desired shape for the chemical being stored via a menu option, and the dimensions of the shape. Build an appropriate menu for the user that displays the three choices of shapes available with an option to also quit the program. Prompt the user for the desired menu choice the menu choice is in solid, display an error message Read the dimensions of the desired shape from the user. b) Calculate the volume of the desired shape, the handing charge, and the storage charge based on the volume Also calculate the total charges c) Display the name of the company requesting the service, the name of the chosen storage shape the dimension of the shape, the calculated volume to a tenth of a decimal point, the handing charge, the storage charge and the total charges based on the following criteria table. (Use symbolic constants where appropriate. Use3.1416 to represent the value of PI. The formulas for the volumes are: a. Volume of a cylinder pi r^2 h b. Volume of a sphere d/3 pi r^3 c. Volume of a cone 1/3 pi r^3h The Storage and Handling charges are based on the following criteria

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students explore these related Databases questions