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 +++++++++++++--- BlankConsoleLab/BlankConsoleLab.vcxproj | 8 ++++---- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'BlankConsoleLab') 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; + + } diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj b/BlankConsoleLab/BlankConsoleLab.vcxproj index db2e734..d2e3ee2 100644 --- a/BlankConsoleLab/BlankConsoleLab.vcxproj +++ b/BlankConsoleLab/BlankConsoleLab.vcxproj @@ -29,26 +29,26 @@ Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode -- cgit v1.2.3