diff options
Diffstat (limited to 'BlankConsoleLab/cst116-lab1-wilson.cpp')
| -rw-r--r-- | BlankConsoleLab/cst116-lab1-wilson.cpp | 8 |
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"; |