Question: Exercise #2: ----------- - Modify the scan.c example from my notes so that it reads in six double and six long values instead of a
Exercise #2: ----------- - Modify the scan.c example from my notes so that it reads in six double and six long values instead of a float and an int. Also, print out all twelve of the values, both before and after you have read/placed values into them. - Write a program to compute the volume of a cylinder. Make the result be a floating-point result. Choose integer or floating-point for the radius and height. Volume is pi times radius squared times height. Read in the radius and the height.
Ex: FILE: scan.c Illustration of scanf. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts

