// // Lab1 // Trevor Bouchillon // CST116 // #include using namespace std; using std::cout; using std::cin; using std::endl; int main() { float kitewidth; float kitelength; float kiteaream; float kiteareacm; float kiteaspectratio; cout << "Please enter width of kite (horizontal diagonal) in meters." << endl; cin >> kitewidth; cout << "Please enter length of kite (vertical diagonal) in meters." << endl; cin >> kitelength; cout << "Your kites length is: " kitelength << " meters, and your kites width is: " << kitewidth << " meters." endl; kiteaream = (kitewidth * kitelength) / 2; kiteareacm = kiteaream / 10000; cout << "Your kites area in meters is: " << kiteaream << "meters squared." << endl; kiteaspectratio = kitewidth / kitelength; if (kiteaspectratio >= 1) { cout << "WARNING: Your kites aspect ratio is larger then or equal to 1. A smaller aspect ratio will provide your kite more stability." << endl; } cout << kiteaspectratio; }