From c41b48ff91d1a191a3f8d0deaa7026fdd2eb0b12 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 19 Oct 2022 02:36:53 -0700 Subject: s --- BlankConsoleLab/BlankConsoleLab.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 081d006..e7ffca3 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -21,13 +21,18 @@ int main() Area = (Width * Length) / 2; Area2 = Area / 10000; - aspectr = Width / Length; cout << "Area in Meters = " << Area2 << endl; - cout << "Aspect Ratio = " << aspectr; + cout << "Aspect Ratio = " << aspectr << endl; + + if (aspectr >= 1) + cout << "Your Aspect Ratio is > 1" << endl; + + else if (aspectr < 1) + cout << "Your Aspect Ratio is < 1" << endl; return 0; } \ No newline at end of file -- cgit v1.2.3