summaryrefslogtreecommitdiff
path: root/BlankConsoleLab
diff options
context:
space:
mode:
authorTrenton Stark <[email protected]>2022-10-26 20:13:23 -0700
committerTrenton Stark <[email protected]>2022-10-26 20:13:23 -0700
commit1c714c077853e8bd75abcc9a86916c851f7cec80 (patch)
tree126e07702f5d4c1e40d1150a45a6f0b9106a88f2 /BlankConsoleLab
parentcorrected version number (diff)
downloadcst116-lab1-stark-master.tar.xz
cst116-lab1-stark-master.zip
Added psuedo code. After original due date should be marked down 30%HEADmaster
Diffstat (limited to 'BlankConsoleLab')
-rw-r--r--BlankConsoleLab/cst116-lab1-stark-psuedo-code.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/BlankConsoleLab/cst116-lab1-stark-psuedo-code.txt b/BlankConsoleLab/cst116-lab1-stark-psuedo-code.txt
new file mode 100644
index 0000000..038abcd
--- /dev/null
+++ b/BlankConsoleLab/cst116-lab1-stark-psuedo-code.txt
@@ -0,0 +1,11 @@
+Ask for width in a loop that repeats if input isn't 1 - 400
+Ask for length in a loop that repeats if input isn't 1 - 400
+
+area = ((width * length) / 2) / 10000
+ratio = width / length
+mass = area * 135
+force = (mass / 1000) * 9.8
+
+print width, length, and ratio labeled with units
+if ratio >= 1 print warn the user that the kite could be unstable
+print area, mass, and gravity labeled with units \ No newline at end of file