summaryrefslogtreecommitdiff
path: root/cst116-lab1-wilson-pseudo-code.txt
diff options
context:
space:
mode:
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