diff options
| author | DoolyBoi <[email protected]> | 2022-10-19 20:22:18 -0700 |
|---|---|---|
| committer | DoolyBoi <[email protected]> | 2022-10-19 20:22:18 -0700 |
| commit | 7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537 (patch) | |
| tree | 0852da86c317c7cbff3a32f55086b56f494e7c19 | |
| parent | removed extra variables (diff) | |
| download | cst116-lab1-abd00l4h-7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537.tar.xz cst116-lab1-abd00l4h-7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537.zip | |
comments
| -rw-r--r-- | BlankConsoleLab/CST116-Lab1-Havaldar.cpp | 2 |
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; |