// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. // /*Name: Anibal Lopez-Bonilla *Project Lab01 Kite * Last Editied 10/19/22 * */ #include using namespace std; using std::cout; using std::cin; using std::endl; //Variables used in the programming. float width; float length; float Area; float aspectR; float Mass; float graPull; int main() { //Welcome Message cout << "Hello welcome to the Kite App" << endl << endl; //Enter Width and Length in centimeters cout << "Please enter your kite's width in CM "<< endl; cin >> width; while (width < 1 || width > 400) { cout << "Please enter your kite's width in CM " << endl; cin >> width; } cout << "Please Enter your kite's length in CM " << endl; cin >> length; while (length < 1 || length > 400) { cout << "Please Enter your kite's length in CM " << endl; cin >> length; } //Output the measures entered by user cout << "Your kite Measurements is "; cout << width; cout << " By "; cout <= 1) { //message used if the aspect ratio is greater than equal to one cout << "Keep in mind, a lower aspect ratio would provide more stability"; } //Mass calculation Mass = Area * 135 / 1000; //Gravity Pull Calculation graPull = Mass * 9.8; //Display the result of the mass calculation cout << "Your Kite Weighs: " << Mass << endl ; //Display the result of the gravitational pull calculation cout << "The gravitational pull of your kite is " << graPull << endl; }