From 7b4e074c8a467d8ead8a6b6a6213e8bf7f18f537 Mon Sep 17 00:00:00 2001 From: DoolyBoi Date: Wed, 19 Oct 2022 20:22:18 -0700 Subject: comments --- BlankConsoleLab/CST116-Lab1-Havaldar.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3