aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt')
-rw-r--r--CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt b/CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt
new file mode 100644
index 0000000..b23ed57
--- /dev/null
+++ b/CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt
@@ -0,0 +1,15 @@
+Pseudocode for Ch.6 Debug
+
+start main
+
+variable fahrenheit = 0.0
+variable celcius = 0.0
+
+print 'Enter temperature in Fahrenheit
+input fahrenheit
+
+celcius = 5.0 divided by 9.0 times (fahrenheit minus 32)
+
+print fahrenheit + 'degrees F =' celcius 'degrees C'
+
+end main \ No newline at end of file