diff options
| author | [email protected] <[email protected]> | 2022-10-05 16:51:48 -0700 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-10-05 16:51:48 -0700 |
| commit | 3b327147694f7fd0bfdcdb824e9c838a462e62bf (patch) | |
| tree | e616a74164b581624d9fb1329a1589688c4a347a /BlankConsoleLab/BlankConsoleLab.cpp | |
| parent | More pushing (diff) | |
| download | cst116-lab1-smith-3b327147694f7fd0bfdcdb824e9c838a462e62bf.tar.xz cst116-lab1-smith-3b327147694f7fd0bfdcdb824e9c838a462e62bf.zip | |
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 6a0f006..efce74f 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -40,7 +40,7 @@ int main() //Displaying the area in square meters - cout << "The area of the kite in square meters is: " << area << endl << endl; + cout << "The area of the kite will be: " << area << " m^2." << endl << endl; //Setting the aspect ratio of width to length @@ -58,8 +58,9 @@ int main() cout << "The total mass of your kite will be: " << mass << " kg." << endl << endl; + //Calculate then output the gravitational pull of the kite grav_pull = mass * 9.8; - cout << "The gravitational pull on your kite will be: " << grav_pull << "N/kg." << endl; + cout << "The gravitational pull on your kite will be: " << grav_pull << " N/kg." << endl; return 0; |