From c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d Mon Sep 17 00:00:00 2001 From: alexandra-apetroaei Date: Mon, 17 Oct 2022 21:27:37 -0800 Subject: first change --- BlankConsoleLab/BlankConsoleLab.cpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed5f807..7deb81d 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,5 +1,5 @@ -// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. -// +// CST 116, Lab 1 - Alexandra Apetroaei + #include @@ -11,6 +11,16 @@ using std::endl; int main() { - cout << "Hello World!\n"; + int height = 0; + int width = 0; + + + cout << "Insert the width: "; + cin >> height; + + cout << "Insert height: "; + cin >> width; + + } -- cgit v1.2.3