i want to create Java program that accepts 3 numbers (num1, num2, num3) and sort them in ascending and descending order.
Example:
Enter num1: 8
Enter num2: 3
Enter num3: 9
Ascending: 3, 8, 9
Descending: 9,8,3
can anyone help me for this
(sorry for my bad English)