From b063f3eb13c9d2c2b58da853f7381fea98400833 Mon Sep 17 00:00:00 2001 From: jacobdw22 Date: Wed, 19 Oct 2022 22:41:01 -0700 Subject: simple changes --- BlankConsoleLab/cst116-lab1-wilson.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BlankConsoleLab/cst116-lab1-wilson.cpp') 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"; -- cgit v1.2.3