class ArrayShort
{
public static void main(String args[])
{
int a[] = {7,10,100,2,1,5,11,70,50,99,22,29,10,79,80,11,19,4 2,31,27};
int temp=0;
for(int i=0;i<a.length;i++)
{
for(int j=0;j<a.length;j++)
{
if(a[j]>a[i])
{
temp = a[i];
a[i] = a[j];
a[j] = temp;
}
}
}
for(int i=0;i<a.length;i++)
System.out.println("a["+i+"] = "+a[i]);
System.out.println("");
}
}
///My text pad could not compile any program.....What's my computer problem?//////