aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-12 17:34:47 -0700
committerprestonderek <[email protected]>2022-10-12 17:34:47 -0700
commitd9a4a59591c5ea8cbe90409e6681c7bc95c041e3 (patch)
tree8b880e960ffcb9d1afd77e7bec55622af6dba487 /CST116-Ch6-Debugging/CST116-Ch6-Debugging-Pseudocode-Preston.txt
parentAdded final comment. (diff)
downloadcst116-ch6-debugging-prestonderek-main.tar.xz
cst116-ch6-debugging-prestonderek-main.zip
Commit for Pseudocode and Output filesHEADmain
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