#include<stdio.h>
#include<conio.h>
void main( )
{
int i, j, a[10], temp, n;
printf ("enter size of the array\n") ;
scanf ("%d",&n) ;
printf ("enter aray elemnt\n") ;
for (i=0; i<n; i++)
scanf ("%d", &a[i]) ;
for (i=0; i<n-1; i++)
for (j=0; j<n-1; j++)
if (a[j+1]>a[j])
{
temp=a[j] ;
a[j]=a[j+1] ;
a[j+1]=temp ;
}
printf ("sorted array are\n") ;
for(i=0; i<n; i ++)
printf ("%d", a[i]) ;
getch( ) ;
}
looking for earning online then click on this link http://www.neobux.com/?rh=6D6F68616D6D65647A61626974
For 8051 microcontroller programming :http://assemblylanguage8051.blogspot.in/
Stainless steel oxide bars - TiN - TITanium Art
ReplyDeleteStainless titanium car steel oxide bars. Open-rooted stainless steel. Open-rooted stainless titanium nipple bars steel. Closed-rooted Stainless steel. titanium money clip Open-rooted Stainless steel. Open-rooted Stainless snow peak titanium steel. titanium fat bike Open-rooted Stainless steel. Open-rooted Stainless steel. Open-rooted