oubeta
Well-known member
I'm taking a C programming class and need a little help writing pseudocode.
Here is our first assigment. I don't know where to start. I know that volume of a cylinder is V=pie r squared x height.
Design a program that accepts 2 numerical input values from the keyboard. These values correspond to (1) the radius, and (2) the length of a cylinder. Calculate and display the cylinder’s diameter, area (of the circle), and volume.
Also the program should output, with identification, the values inputted.
Set up a repetition to continue until the user inputs a radius of 0 (zero).
Deliverables: Turn in a hard (printed) copy of your IPO (program analysis) and pseudo-code. You may use the word processor of your choice, e.g., note pad.
I also need a copy of your worksheet where you desk-checked with at least 2 different test cases. This does not need to be typed, but it should be neat and readable.
Here is our first assigment. I don't know where to start. I know that volume of a cylinder is V=pie r squared x height.
Design a program that accepts 2 numerical input values from the keyboard. These values correspond to (1) the radius, and (2) the length of a cylinder. Calculate and display the cylinder’s diameter, area (of the circle), and volume.
Also the program should output, with identification, the values inputted.
Set up a repetition to continue until the user inputs a radius of 0 (zero).
Deliverables: Turn in a hard (printed) copy of your IPO (program analysis) and pseudo-code. You may use the word processor of your choice, e.g., note pad.
I also need a copy of your worksheet where you desk-checked with at least 2 different test cases. This does not need to be typed, but it should be neat and readable.

Please Scroll Down to See Forums Below 









