From 63a62bafa6738560e21b9c90022f0a618db306a7 Mon Sep 17 00:00:00 2001 From: MattPrice17 <31863891+MattPrice17@users.noreply.github.com> Date: Thu, 12 Oct 2017 13:26:56 -0500 Subject: [PATCH] Update KyleAustin_MaazKamal_JustinVanNimwegen.cpp --- .../KyleAustin_MaazKamal_JustinVanNimwegen.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 +}