diff options
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 90395d3..70fb5fc 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -4,12 +4,18 @@ using namespace std; int main() { - int width, int height; + 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 } |