summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
authorHannah Wu <[email protected]>2022-10-25 23:41:41 -0700
committerHannah Wu <[email protected]>2022-10-25 23:41:41 -0700
commit2cdac3e0e179ee5ff8513d5b1d9f3249874f4328 (patch)
tree21a8c81ddea5dc372d92969f4641da5ac64f6939 /BlankConsoleLab/BlankConsoleLab.cpp
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-lab1-wu-2cdac3e0e179ee5ff8513d5b1d9f3249874f4328.tar.xz
cst116-lab1-wu-2cdac3e0e179ee5ff8513d5b1d9f3249874f4328.zip
Added user input for kite length and width.
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index ed5f807..930a4bb 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -11,6 +11,12 @@ using std::endl;
int main()
{
- cout << "Hello World!\n";
+ int width, length;
+
+ cout << "Enter the width of the kite in meters." << endl;
+ cin >> width;
+
+ cout << "Enter the length of the kite in meters." << endl;
+ cin >> length;
}