aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-05 14:33:48 -0700
committerGitHub <[email protected]>2022-10-05 14:33:48 -0700
commit9258c5c43b4a5693e56cedb01dc50a4b48cdcec8 (patch)
tree43e01b6765479c3d7cdd779af0e63db238556e73 /CST116-Ch6-Debugging/Ch 5 Debugging-Hill-Flowchart
parentfinished (diff)
downloadcst116-ch6-debugging-hill-main.tar.xz
cst116-ch6-debugging-hill-main.zip
Rename Ch 5 Debugging - Hill to Ch 5 Debugging-Hill-FlowchartHEADmain
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;