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 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
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, 09.02.2021 20:40
question
Mathematics, 09.02.2021 20:40
question
Mathematics, 09.02.2021 20:40
question
Mathematics, 09.02.2021 20:40
question
Mathematics, 09.02.2021 20:40
Questions on the website: 13722363