summaryrefslogtreecommitdiff
path: root/cst116-lab1-wilson-pseudo-code.txt
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-10-19 23:02:15 -0700
committerjacobdw22 <[email protected]>2022-10-19 23:02:15 -0700
commit41c8fabd96b599c4fd4562c47541bb470219e3a0 (patch)
tree12817a88660d8368a9b3d51e13fff1ae0cb08889 /cst116-lab1-wilson-pseudo-code.txt
parentsemi-final changes (diff)
downloadcst116-lab1-jacobdw22-master.tar.xz
cst116-lab1-jacobdw22-master.zip
final changesHEADmaster
Diffstat (limited to 'cst116-lab1-wilson-pseudo-code.txt')
-rw-r--r--cst116-lab1-wilson-pseudo-code.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/cst116-lab1-wilson-pseudo-code.txt b/cst116-lab1-wilson-pseudo-code.txt
index 1c0fb41..ca8aee9 100644
--- a/cst116-lab1-wilson-pseudo-code.txt
+++ b/cst116-lab1-wilson-pseudo-code.txt
@@ -22,7 +22,9 @@ IF aspect_ratio >= 1, DISPLAY "WARNING! Aspect ratio >= 1. Unstable.";
ELSE, DISPLAY "Aspect ratio < 1. Good aspect ratio.";
mass = 135 * (area/10000);
+DISPLAY "The mass of your kite is " mass " grams.";
-DISPLAY "The mass of your kite is " mass " grams / sq meter.";
+gravitational_pull = mass * 9.81;
+DISPLAY "The gravitational pull of your kite is " gravitational_pull " grams * m/s^2";
RETURN \ No newline at end of file