WAP to initialize following number in an array called B[] then arrange and display the elements of the same in ascending order by using bubble sorting{2,4,5,8,1,10,15,7,25,21}
Input: {2,4,5,8,1,10,15,7,25,21}
output:{1,2,4,5,7,8,10,15,21,25}
Published By : Sunita Chhetry