Zebra0.com

java arraysInput and Arrange

Input and Arrange

Usually we use an array because we want to access the array in a different order.

The program below reads in three numbers, sorts them, then prints them.