diff options
Diffstat (limited to 'CST116-Ch6-Debugging/CST116-Ch6-Psuedo-code.txt')
| -rw-r--r-- | CST116-Ch6-Debugging/CST116-Ch6-Psuedo-code.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/CST116-Ch6-Psuedo-code.txt b/CST116-Ch6-Debugging/CST116-Ch6-Psuedo-code.txt new file mode 100644 index 0000000..0a6607d --- /dev/null +++ b/CST116-Ch6-Debugging/CST116-Ch6-Psuedo-code.txt @@ -0,0 +1,9 @@ +set fahrenheit to 0 +set celcius to 0 + +print "Enter tempeartue in Fahrenheit: " +input into fahrenheit + +set celcius = 5 / 9 * (fahrenheit - 32) + +print fahrenheit + " degrees F = " + celcius + " degrees C"
\ No newline at end of file |