diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-16 16:40:16 -0700 |
|---|---|---|
| committer | Trevor Bouchillon <[email protected]> | 2022-10-16 16:40:16 -0700 |
| commit | 1c0ac1e64da26cc67ee4733c6baa1f6740ed7075 (patch) | |
| tree | 684113fe28804199e0c234865371cd4491787ca1 | |
| parent | added clarifying notes (diff) | |
| download | cst116-lab1-daboochillin-1c0ac1e64da26cc67ee4733c6baa1f6740ed7075.tar.xz cst116-lab1-daboochillin-1c0ac1e64da26cc67ee4733c6baa1f6740ed7075.zip | |
added more clarifications
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index bbb50d1..47ac6bd 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -26,17 +26,17 @@ int main() cout << "Please enter length of kite (vertical diagonal) in meters." << endl; cin >> kitelength; - cout << "Your kites length is: " kitelength << " meters, and your kites width is: " << kitewidth << " meters." endl; + cout << "Your kites length is: " << kitelength << " meters, and your kites width is: " << kitewidth << " meters." << endl; kiteaream = (kitewidth * kitelength) / 2; kiteareacm = kiteaream / 10000; - cout << "Your kites area in meters is: " << kiteaream << "meters squared." << endl; + cout << "Your kites area in meters is: " << kiteaream << " meters squared." << endl; kiteaspectratio = kitewidth / kitelength; if (kiteaspectratio >= 1) { cout << "WARNING: Your kites aspect ratio is larger then or equal to 1. A smaller aspect ratio will provide your kite more stability." << endl; } - cout << kiteaspectratio; + cout << "Your kites apsect ratio is: " << kiteaspectratio; } |