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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 04:40
The narrative structure of the popular movies can be broken down into
Answers: 3
You know the right answer?
This assignment has three parts. Part One: Write an interactive program to calculate the volume and...
Questions
question
Mathematics, 22.07.2019 00:32
Questions on the website: 13722367