aboutsummaryrefslogtreecommitdiff
path: root/cst116-Ch6-Pearse-Pseudocode.txt
diff options
context:
space:
mode:
authorTim Pearse <[email protected]>2022-10-08 13:47:32 -0700
committerTim Pearse <[email protected]>2022-10-08 13:47:32 -0700
commit53c3f946c66535b31c0b116521342701dd4ceff7 (patch)
tree01b5346ae5cea1042145a2a0e07d0e05ebdd06d3 /cst116-Ch6-Pearse-Pseudocode.txt
parentChange 0 : Getting gitignore in there (diff)
downloadcst116-ch6-debugging-legokid1503-53c3f946c66535b31c0b116521342701dd4ceff7.tar.xz
cst116-ch6-debugging-legokid1503-53c3f946c66535b31c0b116521342701dd4ceff7.zip
Change 1 : Debuging Exercises & pseudocodeHEADmain
Next Step : See if I did this right.
Diffstat (limited to 'cst116-Ch6-Pearse-Pseudocode.txt')
-rw-r--r--cst116-Ch6-Pearse-Pseudocode.txt11
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