diff options
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 16 |
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; + + } |