summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index 1496419..558a738 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -19,13 +19,19 @@ int main()
while (isStable == false)
{
- cout << "Insert width (in centimeters): " /endl ;
+ // Ask user for width and height in centimeters
+ cout << "Insert width (in centimeters): " << endl ;
cin >> height;
- cout << "Insert height (in centimeters): " /endl ;
+ cout << "Insert height (in centimeters): " << endl ;
cin >> width;
+
+ // Display width and height to user
+ cout << "You entered: " << width << "cm for width, and " << height << "cm for height" << endl;
+
}
+
}