aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt
diff options
context:
space:
mode:
authorJoe Traver <[email protected]>2022-10-11 21:56:58 -0700
committerJoe Traver <[email protected]>2022-10-11 21:56:58 -0700
commite55be13c63479ac579f9c45015d55c5635c06da7 (patch)
treef0b73ff855ae083da00ab147f32224d8768c4e16 /CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt
parentFinal touches (diff)
downloadcst116-ch6-debugging-joetraver30-main.tar.xz
cst116-ch6-debugging-joetraver30-main.zip
File name correctionHEADmain
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt')
-rw-r--r--CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt b/CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt
new file mode 100644
index 0000000..594b9db
--- /dev/null
+++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging-traver-pseudo-code.txt
@@ -0,0 +1,17 @@
+int_var
+ fahrenheit = 0
+ celcius = 0
+
+display
+ "Enter temperature in fahrenheit"
+input_var
+ fahrenheit
+
+celcius to fahrenehit calculation
+ caelcuis = 5/9 * (fahrenheit - 32)
+
+display
+ output_var fahrenheit "degrees F ="
+ output_var celcous "degrees C"
+
+End \ No newline at end of file