subject

Prompt the user to
select from a list of three-dimensional shapes that include a cube, a cylinder, a sphere, and another shape of your choosing.
enter the parameters for the chosen shape that are necessary to calculate the surface area and volume. (your code should only prompt for the parameters associated with the chosen shape.)
choose whether to output the surface area or volume.

your code should calculate and display the selected output. the formatted output statement should include the name of the shape that was selected, the name of the quantity that was calculated (surface area or volume), the calculated value, and appropriate units.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:40
It is vital to research each of the services you plan to disable before implementing any change, especially on critical machines such as the: a. servers in the test environment. b. domain controller and other infrastructure servers. c. desktops that have previously been attacked. d. desktops used by upper-level management.
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
How many nibbles can be stored in a 16-bit word?
Answers: 1
You know the right answer?
Prompt the user to
select from a list of three-dimensional shapes that include a cube, a cyli...
Questions
question
Mathematics, 27.01.2021 04:20
question
Mathematics, 27.01.2021 04:20
question
Arts, 27.01.2021 04:20
question
English, 27.01.2021 04:20
question
Mathematics, 27.01.2021 04:20
question
Mathematics, 27.01.2021 04:20
question
English, 27.01.2021 04:20
question
Mathematics, 27.01.2021 04:20
Questions on the website: 13722367