// CST 116, Lab 1 - Alexandra Apetroaei #include using namespace std; using std::cout; using std::cin; using std::endl; int main() { float width; float length; float area; float number; float aspect_ratio; float isStable = false; while (isStable == false) { cout << "Insert width (in centimeters): " << endl; cin >> width; cout << "Insert length (in centimeters): " << endl; cin >> length; else if (number >= 1 || <= 400) { cout << "Invalid input: Please enter a number between 1 and 400." << endl; } cout << "You entered: " << width << "cm for width, and " << length << "cm for length" << endl; // Area formula area = ((width * length) / 2) / 1000; cout << "The area of the kite is: " << area << "in square meters" << endl; aspect_ratio = (width / length); if (aspect_ratio >= 1) { cout << "Warning: " << aspect_ratio << "is too high and should be lowered to provie stability! " << endl; } else { cout << "Aspect ratio:" << aspect_ratio << endl; } return 0; } }