diff options
| author | Morgan Cyrus <[email protected]> | 2022-10-19 17:34:56 -0700 |
|---|---|---|
| committer | Morgan Cyrus <[email protected]> | 2022-10-19 17:34:56 -0700 |
| commit | c9af2da503a803a404838afd5befda7835739ddb (patch) | |
| tree | 7f83e0ad5a72f8dc9605742f5682469286e757be | |
| parent | Added function for calculating kite mass (diff) | |
| download | cst116-lab1-cyrus-master.tar.xz cst116-lab1-cyrus-master.zip | |
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 62450bb..fd66fe5 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -81,11 +81,11 @@ float aspectCalc(float wid, float len) float massCalc(float areaVal) { - cout << "Calculating kite mass....\n"; + cout << "\nCalculating kite mass....\n"; // calculate the mass of the kite/square meter assuming fabric mass of 135 Grams/Square meter float kiteAreaCalc = 135 / areaVal; - cout << "Kite mass: " << kiteAreaCalc << endl; + cout << "Kite mass: " << kiteAreaCalc << " grams." << endl; return kiteAreaCalc; }
\ No newline at end of file |