summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/cst116-lab1-wilson.cpp
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-10-19 22:41:01 -0700
committerjacobdw22 <[email protected]>2022-10-19 22:41:01 -0700
commitb063f3eb13c9d2c2b58da853f7381fea98400833 (patch)
tree18794d60a409866aa67d610d0033481e8a5d11d3 /BlankConsoleLab/cst116-lab1-wilson.cpp
parentsimple changes (diff)
downloadcst116-lab1-jacobdw22-b063f3eb13c9d2c2b58da853f7381fea98400833.tar.xz
cst116-lab1-jacobdw22-b063f3eb13c9d2c2b58da853f7381fea98400833.zip
simple changes
Diffstat (limited to 'BlankConsoleLab/cst116-lab1-wilson.cpp')
-rw-r--r--BlankConsoleLab/cst116-lab1-wilson.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/BlankConsoleLab/cst116-lab1-wilson.cpp b/BlankConsoleLab/cst116-lab1-wilson.cpp
index cc076b2..0811e3f 100644
--- a/BlankConsoleLab/cst116-lab1-wilson.cpp
+++ b/BlankConsoleLab/cst116-lab1-wilson.cpp
@@ -33,19 +33,19 @@ int main()
cout << "Please enter a number between 1 and 400 centimeters." << endl;
}
- cout << "The width is " << width << " centimeters and the length is "
+ cout << "\nThe width is " << width << " centimeters and the length is "
<< length << " centimeters." << endl;
area = (length * width) / 2;
- cout << "The area of the kite is " << area / 10000 << " square meters." << endl;
+ cout << "The area of the kite is " << area / 10000 << " square meters." << endl << endl;
aspect_ratio = width / length;
if (aspect_ratio >= 1)
- cout << "WARNING! Aspect ratio >= 1. Unstable.";
+ cout << "WARNING! Aspect ratio >= 1. Unstable.\n";
else if (aspect_ratio < 1)
- cout << "Aspect ratio < 1. Good aspect ratio.";
+ cout << "Aspect ratio < 1. Good aspect ratio.\n";