diff options
Diffstat (limited to 'CST116-Ch6-Debugging/cst116-ch6-debugging-flowchart.txt')
| -rw-r--r-- | CST116-Ch6-Debugging/cst116-ch6-debugging-flowchart.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/cst116-ch6-debugging-flowchart.txt b/CST116-Ch6-Debugging/cst116-ch6-debugging-flowchart.txt new file mode 100644 index 0000000..31a1cae --- /dev/null +++ b/CST116-Ch6-Debugging/cst116-ch6-debugging-flowchart.txt @@ -0,0 +1,11 @@ +Under main() +create fahrenheit and set to 0 +create celcius and set to 0 + +set fahrenheit to user input with query "Enter temperature in Fahrenheit: " + +set celcius to 5.0 / 9.0 * (fahrenheit - 32) + +output { fahrenheit + " degrees F = " + celsius + " degrees C" } + +return 0
\ No newline at end of file |