Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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;
Expand All @@ -44,4 +46,4 @@ void main() {
}

pause();
}
}