summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
authoralexandra-apetroaei <andra@MSI>2022-10-17 21:27:37 -0800
committeralexandra-apetroaei <andra@MSI>2022-10-17 21:27:37 -0800
commitc2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d (patch)
treeaf9a97a0cbabd505e76c59011462f471b21dbb48 /BlankConsoleLab/BlankConsoleLab.cpp
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-lab1-alexandra-apetroaei-c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d.tar.xz
cst116-lab1-alexandra-apetroaei-c2c8a9cbe07e4ecad63fc1cdbcdd4b39b98b3a9d.zip
first change
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp16
1 files changed, 13 insertions, 3 deletions
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 <iostream>
@@ -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;
+
+
}