diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-19 15:42:06 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-19 15:42:06 -0700 |
| commit | 1e8a093dc51a38d7290a9b1113d51bf4bb21a33f (patch) | |
| tree | 51c3997f4339179a2d3acb29da7312094cba9cf7 | |
| parent | Third Commit (diff) | |
| download | cst116-lab1-theothertonystark-1e8a093dc51a38d7290a9b1113d51bf4bb21a33f.tar.xz cst116-lab1-theothertonystark-1e8a093dc51a38d7290a9b1113d51bf4bb21a33f.zip | |
Third Commit
| -rw-r--r-- | BlankConsoleLab/CST116-Lab1-Chambers.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Chambers.cpp b/BlankConsoleLab/CST116-Lab1-Chambers.cpp index 71d2643..0186f4a 100644 --- a/BlankConsoleLab/CST116-Lab1-Chambers.cpp +++ b/BlankConsoleLab/CST116-Lab1-Chambers.cpp @@ -28,21 +28,23 @@ int aspectratio; int main() { - cout << "Insert Kite width: " ; + cout << "Insert Kite width: " << endl; cin >> width ; - cout << "Insert Kite length: " ; + cout << "Insert Kite length: " << endl; cin >> length ; - cout << "Our kite has a width of " << width << " and a length of " << length << " both measured in cm." ; + cout << "Our kite has a width of " << width << " and a length of " << length << " both measured in cm." << endl; int area = width * length; - cout << " Our kite was an area of " << area << " in cm^2."; + cout << " Our kite has an area of " << area << " in cm^2." << endl; int sqmarea = area / 10000; - cout << " Our area in square meters is " << sqmarea; + cout << " Our area in square meters is " << sqmarea << endl; + + } |