summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-10-12 12:26:40 -0700
committerjacobdw22 <[email protected]>2022-10-12 12:26:40 -0700
commitb990d3cf597abee53d94fc70fcdefab44d7ed35b (patch)
treea2a189bb27ab13feaed6ff2f9439221ca92ba8d6
parentsimple changes (diff)
downloadcst116-lab1-jacobdw22-b990d3cf597abee53d94fc70fcdefab44d7ed35b.tar.xz
cst116-lab1-jacobdw22-b990d3cf597abee53d94fc70fcdefab44d7ed35b.zip
simple changes
-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.";
}