Input :
How many numbers, you input in array : 5
a[1] = 47
a[2] = 81
a[3] = 98
a[4] = 78
a[5] = 36
Output :-
After sorting, Array contains :
a[1] = 36
a[2] = 47
a[3] = 78
a[4] = 81
a[5] = 98
Input :
How many numbers, you input in array : 3
a[1] = 147
a[4] = 878
a[5] = 236
Output :-
After sorting, Array contains :
a[1] = 147
a[4] = 236
a[5] = 878