EXPLORE INFORMATION : AI, BITCOIN, TECHNOLOGY. Enjoy!

How to sort an array�s elements

Here we have used Bubble Sort algorithm. First we will take the array�s elements. For this we have used scanf() function. Then we will sort the array�s elements using Bubble Sort Algorithm.


#include
#include
void main()
{
int a[20],N;
clrscr();

printf("How many item:");
scanf("%d",&N);
printf("Enter items :\n");

0 Comment: