summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoolyBoi <[email protected]>2022-10-19 20:22:18 -0700
committerDoolyBoi <[email protected]>2022-10-19 20:22:18 -0700
commit7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537 (patch)
tree0852da86c317c7cbff3a32f55086b56f494e7c19
parentremoved extra variables (diff)
downloadcst116-lab1-abd00l4h-7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537.tar.xz
cst116-lab1-abd00l4h-7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537.zip
comments
-rw-r--r--BlankConsoleLab/CST116-Lab1-Havaldar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Havaldar.cpp b/BlankConsoleLab/CST116-Lab1-Havaldar.cpp
index ad01c59..e2756ac 100644
--- a/BlankConsoleLab/CST116-Lab1-Havaldar.cpp
+++ b/BlankConsoleLab/CST116-Lab1-Havaldar.cpp
@@ -24,6 +24,7 @@ int main()
bool glength = false;
bool gwidth = false;
+ //makes user input length between 1 and 400
while (!glength)
{
cout << "Please enter the length of your kite." << endl;
@@ -40,6 +41,7 @@ int main()
}
}
+ //makes user input width between 1 and 400
while (!gwidth)
{
cout << "Please enter the width of your kite." << endl;