summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp9
1 files 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