diff options
| author | James Lawrance <[email protected]> | 2021-10-17 13:45:00 -0700 |
|---|---|---|
| committer | James Lawrance <[email protected]> | 2021-10-17 13:45:00 -0700 |
| commit | 0a81acadabbf4b41b673282e9c05e8814ca35eee (patch) | |
| tree | 8aee513420728cfac502713808250e141089651e | |
| parent | Completed Project 1 (diff) | |
| download | cst116-proj1-jemersonlawrance-0a81acadabbf4b41b673282e9c05e8814ca35eee.tar.xz cst116-proj1-jemersonlawrance-0a81acadabbf4b41b673282e9c05e8814ca35eee.zip | |
| -rw-r--r-- | Project 1.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Project 1.txt b/Project 1.txt new file mode 100644 index 0000000..328b1f8 --- /dev/null +++ b/Project 1.txt @@ -0,0 +1,38 @@ +James Lawrance Project 1 +-------------------------------------------- + +Development Process - + +Step 1: Define the problem + +Need the volume of a user-defined cylinder + +Step 2: Requirement specification + +Need radius + height input, then pi * radius^2 * height calculation, then output + +Step 3: Design + +Pseudocode: + +Print "enter radius" +Input radius +Print "enter height" +Input height +Volume = (3.14)(radius * radius)(height) +Print "The volume of your cylinder is " volume + +Step 4-7 + +Coded in the C++ file + +Partner's corrected code output - + +What is the height of your cylinder? +20 +What is the Radius of your cylinder? +7 +The volume of your cylinder is 3078.67. +What is the height of your cylinder? + +(partner chose to loop the code, allowing for multiple inputs before exiting the program)
\ No newline at end of file |