answersLogoWhite

0

Do you mean how do you write a Java program to print out those numbers in ascending order? Because you have specified thosenumbers, I can only assume that the following will suffice:-

public int main( String[] args )

{

System.out.println( "0.235 4.62 7.25 7.89 23.5" );

}

If you want to know how to sort a general array into ascending order, try Google for sorting algorithms, such as "bubble sort", "insertion sort", "heap sort", "quick sort" etc.

User Avatar

Wiki User

16y ago

What else can I help you with?