Created
March 28, 2012 08:03
-
-
Save anonymous/2224612 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| int num1, num2, num3 , num4, num5; | |
| bool sorted, unsorted; | |
| sorted= true | |
| { | |
| if num1 > num2 | |
| temp= num1 | |
| num1= num2 | |
| num2= temp | |
| sorted= false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment