diff options
| author | twsta <twsta@TRENTON-PC-V2> | 2022-10-11 18:51:38 -0700 |
|---|---|---|
| committer | twsta <twsta@TRENTON-PC-V2> | 2022-10-11 18:51:38 -0700 |
| commit | 95a180ab811e89512d851a40a64a6417fb18ebfa (patch) | |
| tree | f51969a14d418a304fa05e82ff670a41360550e7 | |
| parent | reformatted for my convenience (diff) | |
| download | cst116-lab1-stark-95a180ab811e89512d851a40a64a6417fb18ebfa.tar.xz cst116-lab1-stark-95a180ab811e89512d851a40a64a6417fb18ebfa.zip | |
added input for width and height
| -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 a9c4b9e..90395d3 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -4,6 +4,12 @@ using namespace std; int main() { - cout << "Hello World!" << endl; + int width, int height; + + 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; } |