// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. // /* Thomas Trinh CST116 Lab 1 Kite Dimensions */ #include using namespace std; float width = 0; float length = 0; float area = 0; float ratio = 0; int main() { cout << "Enter width in cm: "; cin >> width; cout << "Enter length in cm: "; cin >> length; area = ((length * width)/2.0)/10000.0; cout << "Area in square meters: " << area << endl; ratio = width / length; cout << "Ratio: " << ratio << endl; if (ratio >= 1) cout << "Warning: use a lower ratio for stability" << endl; }