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
8 changes: 4 additions & 4 deletions Project6/ProgramProblem3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ void main() {
int b = (x / 10) % 10;
int a = x / 100;
if (a < b && b < c) {
cout << "Ascending . . . " << endl;
cout << "This is Ascending order . . . " << endl;
}
else if (a > b && b > c) {
cout << "Descending . . . " << endl;
cout << "This is Descending order . . . " << endl;
}
else {
cout << "Neither . . . " << endl;
cout << "This is Neither order . . . " << endl;
}

pause(); // pauses to see the displayed text
}
}