diff options
| author | Birducken <[email protected]> | 2022-11-07 21:47:49 -0800 |
|---|---|---|
| committer | Birducken <[email protected]> | 2022-11-07 21:47:49 -0800 |
| commit | 6b8de3a12fba5be6ca47849cb699cae2a3eccaee (patch) | |
| tree | 24c270536e5b5065a43308e1e053d4cfbd7570ff /BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt | |
| parent | Changed version number. (diff) | |
| download | cst116-lab2-stark-6b8de3a12fba5be6ca47849cb699cae2a3eccaee.tar.xz cst116-lab2-stark-6b8de3a12fba5be6ca47849cb699cae2a3eccaee.zip | |
Added psuedo code.
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 |