diff options
Diffstat (limited to 'CST116-Ch6-Debugging')
| -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" |