Your program must have the following functions:
Name the source code file: proj5.c
The subject of the email should be "CMSC104 Section 0401 Project 5". This must be an exact match for the TA to be able to filter the mail and put your work in the correct folder! Write your name, last four digits of your social security number and your section number in the body of the email. Please follow all this instructions and make sure that you have met them before sending the email. Don't send a copy to me. You will lose points if you don't follow the instructions.
Enter diameter in meters:-1.11
Must be greater than 0.0. Try again.
Enter diameter in meters:
2.0
Compute what?
R : Radius
C : Circumference
S : Surface Area
V : Volume
Q : Exit
Enter Selection :
R
Radius is 1.000 meters
Compute what?
R : Radius
C : Circumference
S : Surface Area
V : Volume
Q : Exit
Enter Selection :
A
Surface Area is 12.566 square meters
Compute what?
R : Radius
C : Circumference
S : Surface Area
V : Volume
Q : Exit
Enter Selection :
V
Volume is 1.488 cubic meters
Compute what?
R : Radius
C : Circumference
S : Surface Area
V : Volume
Q : Exit
Enter Selection :
C
Circumference is 6.283 meters
Compute what?
R : Radius
C : Circumference
S : Surface Area
V : Volume
Q : Exit
Enter Selection :
Q
Quitting !!
-- Remember the program keeps on asking for options
unless the user wants to quit.
-- You will have to use the exit() function to do
this project.
/* ** Filename: proj5.c ** Name: Your name ** SSAN: Last four digits of your SSN ** Date: Date of submission ** Course: CMSC-104 Section XXX ** Description: (Your psuedocode goes here. Must be detailed) ** Notes: (As needed, such as how to compile) */
You will lose points if you don't follow the
instructions for the Header Comment Block.