diff options
Diffstat (limited to 'BlankConsoleLab/CST116-Lab1-Havaldar.cpp')
| -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; |