blob: b0243ffe5c70a81ab8c11a705efb688b24808bb7 (
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
|
#include <iostream>
using namespace std;
int main()
{
int width, length;
float area, ratio;
cout << "Kite Math 0.1" << 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;
}
|