Your program must have the following functions:
Name the source code file: proj5.c
submit cs104-0101 lab5 proj5.c
(for more help on the submit mechanism take a look at http://www.gl.umbc.edu/submit )
Please follow all this instructions and make sure that you have met them before submitting. 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.