diff options
| author | Joe Traver <[email protected]> | 2022-11-07 20:40:41 -0800 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-11-07 20:40:41 -0800 |
| commit | 374b35a8f240af05059d98dd8c765cbde9bd4b3f (patch) | |
| tree | eab2a05c8bfb69072213f2061dea6c3a8d80d863 | |
| parent | Code (Completed on personal file before realizing there was a git hub reposit... (diff) | |
| download | cst116-lab2-joetraver30-374b35a8f240af05059d98dd8c765cbde9bd4b3f.tar.xz cst116-lab2-joetraver30-374b35a8f240af05059d98dd8c765cbde9bd4b3f.zip | |
Program output tests
| -rw-r--r-- | BlankConsoleLab/Program Output.txt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/BlankConsoleLab/Program Output.txt b/BlankConsoleLab/Program Output.txt new file mode 100644 index 0000000..49f20f5 --- /dev/null +++ b/BlankConsoleLab/Program Output.txt @@ -0,0 +1,72 @@ +CST116-Lab_2-joetraver-Program_output + +Trial_1: + +Enter temperature units Celcius or Fahrenheit (C/F): F + +Enter the temperature in Fahrtenheit beteen -80 degrees & 121 degrees: -20 + +Enter wind speed between 0 MPH & 231 MPH: 30 + +Temperature is: -20 Degrees Fahrenheit + +Wind speed is: 30 MPH + +For -20 degrees F and 30 MPH, the windchill is: -53.0284 + + +Trial_2: + +Enter temperature units Celcius or Fahrenheit (C/F): C + +Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: 40 + +Enter wind speed between 0 MPH & 231 MPH: 5 + +Temperature is: 104 Degrees Fahrenheit + +Wind speed is: 5 MPH + +For 104 degrees F and 5 MPH, the windchill is: 111.644 + + +Trial_3: + +Enter temperature units Celcius or Fahrenheit (C/F): F + +Enter the temperature in Fahrtenheit beteen -80 degrees & 121 degrees: 41 + +Enter wind speed between 0 MPH & 231 MPH: 100 + +Temperature is: 41 Degrees Fahrenheit + +Wind speed is: 100 MPH + +For 41 degrees F and 100 MPH, the windchill is: 23.1493 + + +Error_Check: + +Enter temperature units Celcius or Fahrenheit (C/F): d + +ERROR: a F or C must be entered + +Enter temperature units Celcius or Fahrenheit (C/F): c + +Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: -63 + +Temperature lies outside of accepted bounds + +Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: -50 + +Enter wind speed between 0 MPH & 231 MPH: -1 + +Wind speed lies outside of accepted bounds + +Enter wind speed between 0 MPH & 231 MPH: 50 + +Temperature is: -58 Degrees Fahrenheit + +Wind speed is: 50 MPH + +For -58 degrees F and 50 MPH, the windchill is: -113.524
\ No newline at end of file |