/* ALGORITHM 1. Start from left hand side 2. Compare first two numbers 3. If first_number > second_number than swap both number position. And if first_number < second_number than these compare next two numbers i.e. second_number and third_number. 4. Step-3 process repeat until there are no more numbers left to compared. */ #include #include #define SIZE 7 int main() { int i,j,temp; int arr[ SIZE ]; for(i=0; i