summaryrefslogtreecommitdiff
path: root/BlankConsoleLab
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp5
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;