diff options
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 4 |
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; |