void plus()
{
int arr[10]={4,2,8,11,3,6,9,33,23,15};
int lenth=sizeof(arr)/sizeof(arr[0]);
int temp;
for (int j=0;j<lenth-1;j++)
{
if (arr[j]>arr[j+1])
{
temp=arr[j];
arr[j+1]=arr[j];
}
else
{
temp=arr[j+1];
}
}
}
void main()
{
plus();
return;
}
{
int arr[10]={4,2,8,11,3,6,9,33,23,15};
int lenth=sizeof(arr)/sizeof(arr[0]);
int temp;
for (int j=0;j<lenth-1;j++)
{
if (arr[j]>arr[j+1])
{
temp=arr[j];
arr[j+1]=arr[j];
}
else
{
temp=arr[j+1];
}
}
}
void main()
{
plus();
return;
}