aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"