Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value for one edge of a cube. The program calculates the surface area of one side of the cube, the surface area of the cube, and its volume. The program outputs all the results.

Respuesta :

Answer:

I'll answer this question with a Pseudocode

1. Start

2. Input Length

3. Surface Area1 = Length * Length

4. Surface Area2 = 6 * Surface Area1

5. Volume = Length * Length * Length

6. Print Surface Area1

7. Print Surface Area2

8. Print Volume

9. Stop

Explanation:

The first line starts the Pseudocode

The second line accepts input for Length of the cube

The third line calculates the surface area of 1 side

The fourth line calculates the surface area of the cube

The fifth line calculates the volume of the cube

The sixth to ninth line prints the calculated parameters

The Pseudocode ends on line 9