#include <stdio.h>
int bubble_sort(int *a,int size_)
{
for(int i=0;i<size_;i++)
{
for(int j=0;j<size_-1;j++)
{
if(a[j]<a[j+1])
{
int temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
}
}
int main()
{
int size_=0;
int a[100];
printf("plz enter size of array : ");
scanf("%d",&size_);
for(int i=0;i<size_;i++)
scanf("%d",&a[i]);
bubble_sort(a,size_);
for(int i=0;i<size_;i++)
printf("%d ",a[i]);
}