summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
blob: da5b2752e398131e9415d129b6c8b68ebebe54ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <iostream>

using namespace std;

int main()
{
    int width, length;
    float area, ratio;

    cout << "Kite Math 0.2" << endl;
    cout << "Please input the width of your kite:" << endl;
    cin >> width;
    cout << "Please input the length of your kite:" << endl;
    cin >> length;
    cout << endl;
    cout << "Width: " << width << endl;
    cout << "length: " << length << endl;

    area = (width * length) / 2;
    area = area / 10000;
    ratio = width / length;

    if (ratio >= 1) {
        cout << "A lower aspect ratio may provide more kit stability" << endl;
    }
}