aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei F <[email protected]>2022-10-12 21:28:08 -0700
committerAndrei F <[email protected]>2022-10-12 21:28:08 -0700
commit5f12e7ae79d24de49843eb04627fd5c4ec6eed1c (patch)
tree9c5ee24430bccc641c9685e00695151ab953e4fb
parentWrote pseudo code, finished CH6 (diff)
downloadcst116-ch6-debugging-florea-main.tar.xz
cst116-ch6-debugging-florea-main.zip
Forgot value 5 in pseudo code, fixed, last commitHEADmain
-rw-r--r--CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt b/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
index 4622a61..4fc4954 100644
--- a/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
+++ b/CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt
@@ -4,6 +4,6 @@ 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)
+celsius = (float) 5 / 9 * (fahrenheit - 32)
display fahrenheit + " degrees F = " + celsius + " degrees C"