singhrukmini108
singhrukmini108 singhrukmini108
  • 27-01-2021
  • Computers and Technology
contestada

plz help me
write an algorithm and draw a flowchart to find the area and volume of a cube​

Respuesta :

jacobEwing
jacobEwing jacobEwing
  • 27-01-2021

Answer:

Can't draw a flow chart here, but here are the steps you need:

1) Prompt for side length of cube

2) If the entry is non-numeric, give error and go to step 1

3) If the entry is less than zero, give error and go to step 1

4) output "Volume is " + (entry * entry * entry)

5) output "Surface area is " + (6 * entry * entry)

6) Prompt for calculating another cube

7) If the reply is "y", go to step 1

8) end

Answer Link

Otras preguntas

Can you help me find the answer
The sum of the interior angles of a triangle is_____.
A standard mercury thermometer consists of a hollow glasscylinder, the stem, attached to a bulb filled with mercury. As thetemperature of the thermometer change
What is a benefit of using electronic medical records instead of traditional medical records? Medical coding is not needed. Numerical filing systems can be use
if the driver looks 49 inches above the road bed, at what distances from the tower will the drivers eyes be at the same height as the cable?​
Need help please with negative numbers
Can you please find tan z
Abraham Lincoln was the first president.
What responsibilities did the priest have in Aztec society
A pet store conducted a survey on the types of pets owned by the stores customers. construct a two-way table summarizing the data. Then find and interpret the r