subject

This assignment has three parts. Part One: Write an interactive program to calculate the volume and surface area of a three-dimensional object. Use the following guidelines to write your program:

Create a word problem that involves calculating the volume and surface area of a three-dimensional object. Choose one of the following:
Cube: surface area 6 s2 , volume s3
Sphere: surface area 4πr2 , volume (4.0/3.0) π r3
Cylinder: surface area 2π r2 + 2 π r h, volume π r2 h
Cone: surface area πr(r+√(h2+r2) ), volume 1.0/3.0 π r2 h
Print the description of the word problem for the user to read.
Ask the user to enter the information necessary to perform the calculations.
Use 3.14 for the value of π as needed.
Print the results of each calculation.
Write the pseudocode for this program. Be sure to include the needed input, calculations, and output.
Insert your pseudocode here:

Part Two: Code the program. Use the following guidelines to code your program.

To code the program, use the Python IDLE.
Using comments, type a heading that includes your name, today’s date, and a short description of the program.
Follow the Python style conventions regarding indentation and the use of white space in your program.
Use meaningful names for all variables.
Example of expected output: The output for your program should resemble the following screen shot. Your specific results will vary depending on the choices you make and the input provided.

Output

Insert a copy of your code from the IDLE here:

Part Three: Complete the Post Mortem Review (PMR). Write thoughtful two to three sentence responses to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?

How could your program be useful in the real world?

What is a problem you ran into, and how did you fix it?

Describe one thing you would do differently the next time you write a program.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:10, Olaf2018
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password. keep yourself loggedin when you leave your computer. don’t write your password down and leave it whereothers can find it. share your password with your friends. each time you visit a website, retain the cookies on your computer. use a long password with mixed characters.
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
image
Computers and Technology, 23.06.2019 02:30, reyne36
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
image
Computers and Technology, 23.06.2019 09:30, gabby640
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
This assignment has three parts. Part One: Write an interactive program to calculate the volume and...

Questions in other subjects:

Konu
Mathematics, 05.11.2020 19:10
Konu
Computers and Technology, 05.11.2020 19:10
Konu
Mathematics, 05.11.2020 19:10
Konu
Mathematics, 05.11.2020 19:10