From 0f3de55675f8ab14e2860d712b7a42a629d01817 Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon Date: Sun, 16 Oct 2022 16:36:04 -0700 Subject: aspect ratio warning --- BlankConsoleLab/BlankConsoleLab.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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; + } -- cgit v1.2.3