summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-18 14:20:28 -0700
committertafaar <[email protected]>2022-10-18 14:20:28 -0700
commit86a8eae63b6e5b8c87c1762779fa9010a81e2162 (patch)
tree872ed6b76886ed50216822fa71c0cec66ac577a0 /BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt
parentfinished (diff)
downloadcst116-lab1-hill-master.tar.xz
cst116-lab1-hill-master.zip
text editHEADmaster
Diffstat (limited to 'BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt')
-rw-r--r--BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt b/BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt
index 057e230..c6ac6c9 100644
--- a/BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt
+++ b/BlankConsoleLab/CST116-Lab1-Hill-Flowchart.txt
@@ -1,3 +1,23 @@
+// Output //
+
+Please enter the width of your kite in centimeters. Use values between 1 - 400 cm.
+450
+Please try again with a value between 1 - 400
+100
+Now enter the length, again between 1 - 400cm.
+30
+
+The dimensions of your kite are 100.000cm by 30.000cm.
+The area is 0.300 square meters.
+The aspect ratio is 3.333
+
+WARNING: A lower aspect ratio might provide better stability.
+
+Your kite has a mass of 40.500 grams.
+The kite is experiencing a gravitational force of 396.900 newtons.
+
+//
+
FLOATS width, length;
PRINT "Please enter the width of your kite in centimeters. Use values between 1 - 400 cm.";