diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-16 16:36:04 -0700 |
|---|---|---|
| committer | Trevor Bouchillon <[email protected]> | 2022-10-16 16:36:04 -0700 |
| commit | 0f3de55675f8ab14e2860d712b7a42a629d01817 (patch) | |
| tree | ec567572e7a8496edfd93fe05587563e785e49f7 | |
| parent | p1 6 complete (diff) | |
| download | cst116-lab1-daboochillin-0f3de55675f8ab14e2860d712b7a42a629d01817.tar.xz cst116-lab1-daboochillin-0f3de55675f8ab14e2860d712b7a42a629d01817.zip | |
aspect ratio warning
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index b20b912..a5e8049 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -31,6 +31,12 @@ int main() kiteareacm = kiteaream / 10000; cout << kiteaream << endl; kiteaspectratio = kitewidth / kitelength; + + if (kiteaspectratio >= 1) { + cout << "WARNING: Your kites aspect ratio is larger then or equal to 1. A smaller aspect ratio will provide your kite more stability." << endl; + } + cout << kiteaspectratio; + } |