summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
authorEvan <[email protected]>2022-10-22 21:08:37 -0700
committerEvan <[email protected]>2022-10-22 21:08:37 -0700
commitd9f19bb5fdb96e8a1ccc8d68156905115123fd6b (patch)
tree658d06579f36cc1fee81371f7524ed09bcc9ff88 /BlankConsoleLab/BlankConsoleLab.cpp
parentnow mass (diff)
downloadcst116-lab1-evanmihm-d9f19bb5fdb96e8a1ccc8d68156905115123fd6b.tar.xz
cst116-lab1-evanmihm-d9f19bb5fdb96e8a1ccc8d68156905115123fd6b.zip
ratio
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index b77f07f..f64dcd1 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -13,12 +13,15 @@ int main()
float aspectr;
float Mass;
+ //collects width of kite
cout << "What is the Width of your kite in centimeters? ";
cin >> Width;
+ //collects length of kite
cout << "What is the Length of your kite in centimeters? ";
cin >> Length;
+ //equation for area in centimeters then convert to meters
Area = (Width * Length) / 2;
Area2 = Area / 10000;
aspectr = Width / Length;
@@ -28,6 +31,7 @@ int main()
cout << "Aspect Ratio = " << aspectr << endl;
+ //displays aspect ratio depending size
if (aspectr >= 1)
cout << "Your Aspect Ratio is greater than 1,\
lower aspect ratio would provide more stability" << endl;