diff options
| author | jacobdw22 <[email protected]> | 2022-10-19 23:02:15 -0700 |
|---|---|---|
| committer | jacobdw22 <[email protected]> | 2022-10-19 23:02:15 -0700 |
| commit | 41c8fabd96b599c4fd4562c47541bb470219e3a0 (patch) | |
| tree | 12817a88660d8368a9b3d51e13fff1ae0cb08889 /cst116-lab1-wilson-pseudo-code.txt | |
| parent | semi-final changes (diff) | |
| download | cst116-lab1-jacobdw22-master.tar.xz cst116-lab1-jacobdw22-master.zip | |
Diffstat (limited to 'cst116-lab1-wilson-pseudo-code.txt')
| -rw-r--r-- | cst116-lab1-wilson-pseudo-code.txt | 4 |
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 |