Question: Problem: Consider the following program in which the statements are in the incorrect order. Rearrange the statements so that the program prompts the user to
Problem:
Consider the following program in which the statements are in the incorrect order.
Rearrange the statements so that the program prompts the user to input:
The height of the base of a cylinder
The radius of the base of a cylinder
The program then outputs:
The volume of the cylinder.
The surface area of the cylinder
Format the output to two decimal places.
----------------------------------------------------------------------------------------------------------------------------------------------------
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
