From 2cdac3e0e179ee5ff8513d5b1d9f3249874f4328 Mon Sep 17 00:00:00 2001 From: Hannah Wu Date: Tue, 25 Oct 2022 23:41:41 -0700 Subject: Added user input for kite length and width. --- BlankConsoleLab/BlankConsoleLab.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') 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; } -- cgit v1.2.3