aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging
diff options
context:
space:
mode:
authorAndrei F <[email protected]>2022-10-12 21:26:36 -0700
committerAndrei F <[email protected]>2022-10-12 21:26:36 -0700
commitff36e1cccb976344812ca59c9f0e1ae6b52cea9f (patch)
treed9c2551a23862979483ae90e162b4a973d64524f /CST116-Ch6-Debugging
parentADding psuedo-code text file (diff)
downloadcst116-ch6-debugging-florea-ff36e1cccb976344812ca59c9f0e1ae6b52cea9f.tar.xz
cst116-ch6-debugging-florea-ff36e1cccb976344812ca59c9f0e1ae6b52cea9f.zip
Wrote pseudo code, finished CH6
Diffstat (limited to 'CST116-Ch6-Debugging')
-rw-r--r--CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt b/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
index e69de29..4622a61 100644
--- a/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
+++ b/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
@@ -0,0 +1,9 @@
+define fahrenheit and set it to 0 as a float
+define celsius and set it to 0 as a float
+
+display "Enter a temperature in Fahrenheit: "
+input value for fahrenheit
+
+celsius = (float) / 9 * (fahrenheit - 32)
+
+display fahrenheit + " degrees F = " + celsius + " degrees C"