diff options
| author | Andrei F <[email protected]> | 2022-10-12 21:26:36 -0700 |
|---|---|---|
| committer | Andrei F <[email protected]> | 2022-10-12 21:26:36 -0700 |
| commit | ff36e1cccb976344812ca59c9f0e1ae6b52cea9f (patch) | |
| tree | d9c2551a23862979483ae90e162b4a973d64524f /CST116-Ch6-Debugging | |
| parent | ADding psuedo-code text file (diff) | |
| download | cst116-ch6-debugging-florea-ff36e1cccb976344812ca59c9f0e1ae6b52cea9f.tar.xz cst116-ch6-debugging-florea-ff36e1cccb976344812ca59c9f0e1ae6b52cea9f.zip | |
Wrote pseudo code, finished CH6
Diffstat (limited to 'CST116-Ch6-Debugging')
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-CH6-Florea-pseudo-code.txt | 9 |
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" |