summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnibal LopezBonilla <[email protected]>2022-10-19 22:09:05 -0700
committerAnibal LopezBonilla <[email protected]>2022-10-19 22:09:05 -0700
commitabf2c55eea9c4736115967d5155dbf1485c60cb6 (patch)
tree9579f964da04dde1399b61625489b65acf6312f4
parentMerge branch 'master' of https://github.com/CST116/cst116-lab1-BuzzerBeaterCl... (diff)
downloadcst116-lab1-lopez-bonilla-abf2c55eea9c4736115967d5155dbf1485c60cb6.tar.xz
cst116-lab1-lopez-bonilla-abf2c55eea9c4736115967d5155dbf1485c60cb6.zip
Push 5
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index 636ab6c..df78c3d 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -58,7 +58,7 @@ int main()
//Output of the area calculation to square meters.
cout << "The area of the kite in squre meter is ";
- cout << Mass;
+ cout << Area;
cout << " Square Meters" <<endl;
//Aspect Ratio
aspectR = width / length;
@@ -74,6 +74,8 @@ int main()
graPull = Mass * 9.8;
- cout << "Your Kite Weighs: " <<endl;
+ cout << "Your Kite Weighs: " << Mass << endl ;
+
+ cout << "The gravitational pull of your kite is " << graPull << endl;
}