diff options
| author | Tim Pearse <[email protected]> | 2022-10-08 13:47:32 -0700 |
|---|---|---|
| committer | Tim Pearse <[email protected]> | 2022-10-08 13:47:32 -0700 |
| commit | 53c3f946c66535b31c0b116521342701dd4ceff7 (patch) | |
| tree | 01b5346ae5cea1042145a2a0e07d0e05ebdd06d3 /cst116-Ch6-Pearse-Pseudocode.txt | |
| parent | Change 0 : Getting gitignore in there (diff) | |
| download | cst116-ch6-debugging-legokid1503-53c3f946c66535b31c0b116521342701dd4ceff7.tar.xz cst116-ch6-debugging-legokid1503-53c3f946c66535b31c0b116521342701dd4ceff7.zip | |
Next Step : See if I did this right.
Diffstat (limited to 'cst116-Ch6-Pearse-Pseudocode.txt')
| -rw-r--r-- | cst116-Ch6-Pearse-Pseudocode.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cst116-Ch6-Pearse-Pseudocode.txt b/cst116-Ch6-Pearse-Pseudocode.txt new file mode 100644 index 0000000..e29dee7 --- /dev/null +++ b/cst116-Ch6-Pearse-Pseudocode.txt @@ -0,0 +1,11 @@ +main(){ + float Celcius + float fahrenheit + + print("Enter temperaure in Fahrenheit") + input(fahrenheit) + + celcius = 5.0 / 9.0 * (fahrenheit - 32) + + print(fahrenheit + "degrees F = " + celcius + "degrees C") +}
\ No newline at end of file |