# Prism

You are given a very special rectangular prism. The length, width, and height of the cube are all variable. If X is greater than or equal to 10 units, Y is equal to double the amount of X. Otherwise, Y is equal to half the amount of X. If Y is greater than or equal to 20 units, Z is equal to one-fourth of the amount of Y. Otherwise, Z is equal to 3 times the amount of Y.

Write a program where the user inputs a value of X, and the values of Y and Z are computed using the above instructions. The program then calls a function that RETURNS the volume of the prism, and another function that RETURNS the surface area of the prism. Finally, the program displays the volume and surface area of the prism.

• Question 1A ). Draw a flowchart for this problem. You may draw flow chart(s) on paper and take a picture that you can email yourself and insert below, OR draw the flow chart(s) in Word below. IF YOU ARE DRAWING YOUR FLOWCHART BY HAND, MAKE SURE TEXT IN YOUR FLOWCHART IS UPPERCASE.

• Question 1B Write the Pseudocode for this problem.

• Question 1C Write the Python code for this problem below

Write a program where the user inputs a value of X, and the values of Y and Z are computed using the above instructions. The program then calls a function that RETURNS the volume of the prism, and another function that RETURNS the surface area of the prism. Finally, the program displays the volume and surface area of the prism.

• Question 1A ). Draw a flowchart for this problem. You may draw flow chart(s) on paper and take a picture that you can email yourself and insert below, OR draw the flow chart(s) in Word below. IF YOU ARE DRAWING YOUR FLOWCHART BY HAND, MAKE SURE TEXT IN YOUR FLOWCHART IS UPPERCASE.

• Question 1B Write the Pseudocode for this problem.

• Question 1C Write the Python code for this problem below

You'll get a 70.2KB .ZIP file.