From d453f20f38f4d7775f7ecc1703a8adcd26c8af1e Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Wed, 19 Oct 2022 22:02:04 -0700 Subject: Push 4 --- BlankConsoleLab/BlankConsoleLab.cpp | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ce7017e..d6dde49 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -10,10 +10,14 @@ using std::cin; using std::endl; //Variables used in the programming. - float w; + float width; float length; float Area; float aspectR; + float Mass; + + float graPull; + int main() { @@ -22,11 +26,11 @@ int main() cout << "Hello welcome to the Kite App" << endl << endl; cout << "Please enter your kite's width in CM "<< endl; - cin >> w; - while (w < 1 || w > 400) + cin >> width; + while (width < 1 || width > 400) { cout << "Please enter your kite's width in CM " << endl; - cin >> w; + cin >> width; } //Enter Width and Length in centimeters @@ -40,24 +44,24 @@ int main() //Output the measures entered by user cout << "Your kite Measurements is "; - cout << w; + cout << width; cout << " By "; cout <