diff --git a/Three_Digit_Ascend_Descend_Selection/KyleAustin_MaazKamal_JustinVanNimwegen.cpp b/Three_Digit_Ascend_Descend_Selection/KyleAustin_MaazKamal_JustinVanNimwegen.cpp index eaf3212..b3b190f 100644 --- a/Three_Digit_Ascend_Descend_Selection/KyleAustin_MaazKamal_JustinVanNimwegen.cpp +++ b/Three_Digit_Ascend_Descend_Selection/KyleAustin_MaazKamal_JustinVanNimwegen.cpp @@ -1,5 +1,5 @@ /* -Maaz Kamal, Kyle Austin, Justin Van Nimwegen, Yezen Higazin - 4 +Maaz Kamal, Kyle Austin, Justin Van Nimwegen, Yezen Higazin - 4 Edited By: Matt Price Assignment Name : Three_Digit_Ascend_Descend_Selection @@ -23,11 +23,13 @@ void pause() { } void main() { - int x; - cout << "Choose a 3 Digit #" << endl; - cin >> x; - cout << "You Chose " << x << endl; - + int i = 0 + for( ; i < 30; i + +) { + int x; + cout << "Choose a 3 Digit #" << endl;// Type a three digit number into the window. + cin >> x;//Peron typing and hitting enter. + cout << "You Chose " << x << endl;// says this after they hit enter + } int A = x / 100; int B = x % 100 / 10; int C = x % 10; @@ -44,4 +46,4 @@ void main() { } pause(); -} \ No newline at end of file +}