diff options
Diffstat (limited to 'BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt')
| -rw-r--r-- | BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt b/BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt new file mode 100644 index 0000000..51becea --- /dev/null +++ b/BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt @@ -0,0 +1,20 @@ +Trenton Stark +CST 116 +Lab2 Psuedo code: + +print "Welcome to Cold Calculator v1.0" + +ask user if they would like to input in celcius or fahrenheit +if the user inputs f: + input temperature into fTemp + set cTemp to conversion into celcius + +if the user inputs c: + input temperature into cTemp + set fTemp to conversion into fahrenheit + +ask user for windspeed in mph and input into windS + +set windC to the windchill with fTemp and windS + +output cTemp, fTemp, windS, and windC in a table with header
\ No newline at end of file |