Question: Create a new java file named SortNumbers.java. Write a method that has the following header public static void displaySortedNumbers(int a, int b, int c) The

Create a new java file named SortNumbers.java. Write a method that has the following header public static void displaySortedNumbers(int a, int b, int c) The method should display three numbers in increasing order. displaySortedNumbers method to display the entered numbers in order. Your output should match the sample output below. In the main method, ask the user to enter three numbers Use/invoke the Enter a number: 10 Enter a number: 3 Enter a number: 17 3 10 17 Enter a number: 4 Enter a number: -6 Enter a number: 8 8 -6 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
