summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwsta <twsta@TRENTON-PC-V2>2022-10-11 18:51:38 -0700
committertwsta <twsta@TRENTON-PC-V2>2022-10-11 18:51:38 -0700
commit95a180ab811e89512d851a40a64a6417fb18ebfa (patch)
treef51969a14d418a304fa05e82ff670a41360550e7
parentreformatted for my convenience (diff)
downloadcst116-lab1-stark-95a180ab811e89512d851a40a64a6417fb18ebfa.tar.xz
cst116-lab1-stark-95a180ab811e89512d851a40a64a6417fb18ebfa.zip
added input for width and height
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp8
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;
}