diff options
| author | Andrei F <[email protected]> | 2022-10-12 21:28:08 -0700 |
|---|---|---|
| committer | Andrei F <[email protected]> | 2022-10-12 21:28:08 -0700 |
| commit | 5f12e7ae79d24de49843eb04627fd5c4ec6eed1c (patch) | |
| tree | 9c5ee24430bccc641c9685e00695151ab953e4fb | |
| parent | Wrote pseudo code, finished CH6 (diff) | |
| download | cst116-ch6-debugging-florea-5f12e7ae79d24de49843eb04627fd5c4ec6eed1c.tar.xz cst116-ch6-debugging-florea-5f12e7ae79d24de49843eb04627fd5c4ec6eed1c.zip | |
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt | 2 |
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" |