From ff36e1cccb976344812ca59c9f0e1ae6b52cea9f Mon Sep 17 00:00:00 2001 From: Andrei F Date: Wed, 12 Oct 2022 21:26:36 -0700 Subject: Wrote pseudo code, finished CH6 --- CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CST116-Ch6-Debugging') 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" -- cgit v1.2.3