Question: In - Class Assignment 3 : Calculate the Volume and Surface Area of a Cylinder ( 2 0 points ) Due: 0 9 / 2

In-Class Assignment 3: Calculate the Volume and Surface Area of a Cylinder (20 points)
Due: 09/25/23 by 5:40 PM
It is important to follow directions:
The assignment must be completed in class late submissions will not be accepted
You should follow the comment structure that is in the syllabus
You must have your Name, Student ID, Date, and In-Class Assignment 3 at the top of your WORD document/ar other document format is not accepted)
You should copy and paste the code from your solution file into a Word document.
You should also include a screen clipping of the results window.
To be completed: Calculate Volume and Surface Area of a Cylinder
You need to write a program that reads in the radius and height of a cylinder from the user. You need to calculate the volume and the surface area of the cylinder and display results similar to the output window below.
Story board:
Read the radius of the cylinder
Read the height of the cylinder
Calculate the volume using the formula:
volume = r2h
Calculate the surface area using the
formula: area =27u(r+h)
Display the volume
Display thesurfacearea

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!