aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart')
-rw-r--r--CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart9
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart b/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
new file mode 100644
index 0000000..77a9b5a
--- /dev/null
+++ b/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
@@ -0,0 +1,9 @@
+Enter temperature in Fahrenheit: 212
+212 degrees F = 100 degrees C
+
+1. fahrenheit = 0;
+2. celcius = 0;
+3. print "Enter temperature in Fahrenheit:";
+4. input fahrenheit;
+5. celsius = 5.0F / 9.0F * (fahrenheit - 32);
+6. print fahrenheit + " degrees F = " + celcius + " degrees C" \endline;