Skip to content

Instantly share code, notes, and snippets.

Created March 28, 2012 08:03
Show Gist options
  • Select an option

  • Save anonymous/2224612 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/2224612 to your computer and use it in GitHub Desktop.
#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