summaryrefslogtreecommitdiff
path: root/BlankConsoleLab
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab')
-rw-r--r--BlankConsoleLab/cst116-lab1-wilson.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/BlankConsoleLab/cst116-lab1-wilson.cpp b/BlankConsoleLab/cst116-lab1-wilson.cpp
index 089860b..f71b36c 100644
--- a/BlankConsoleLab/cst116-lab1-wilson.cpp
+++ b/BlankConsoleLab/cst116-lab1-wilson.cpp
@@ -33,8 +33,7 @@ int main()
if (aspect_ratio >= 1)
cout << "WARNING! Aspect ratio >= 1. Unstable.";
-
- else (aspect_ratio < 1);
+ else if (aspect_ratio < 1)
cout << "Aspect ratio < 1. Good aspect ratio.";
}