Skip to content

Commit f381e80

Browse files
committed
code indented
1 parent b80f5c9 commit f381e80

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

insertion_sort/insertion_sort.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ void insertionSort(int array[], int size)
2222
}
2323
}
2424
}
25-
2625
void display(int array[], int size)
2726
{
2827
int i = 0;
2928
for (i = 0; i < size; i++)
3029
cout << array[i] << " ";
3130
cout << endl;
3231
}
33-
3432
int main()
3533
{
3634
int array[] = {5, 4, 233, 32, 1, 4, 34, 3, 23};
@@ -40,5 +38,4 @@ int main()
4038
insertionSort(array, size);
4139
cout << "sorted array is :" << endl;
4240
display(array, size); //display the sorted array
43-
return 0;
4441
}

0 commit comments

Comments
 (0)