blob: 70fb5fcba1b89643c2f28b88fb5e8c5517d602c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <iostream>
using namespace std;
int main()
{
int width, height;
float area;
cout << "Kite Math 0.1" << endl;
cout << "Please input the width of your kite:" << endl;
cin >> width;
cout << "Please input the height of your kite:" << endl;
cin >> height;
cout << endl;
cout << "Width: " << width << endl;
cout << "Height: " << height << endl;
area = (width * height) / 2
}
|