Sorting Algorithms Assignment 100 Points
Part 1: The Selection Sort method repeatedly finds the smallestnumber in the current array and swaps it with the first number inthe array.
Develop a pseudo-code algorithm that accomplishes this method.Include input to the method, and output from the method.
Create a Java program with input from the keyboard and output tothe screen that executes this pseudo-code. Data validationstandards are to be used for the input. Valid numbers are in therange of 1-1000. Invalid data should be sent to an error file withan appropriate error message.
Develop a reasonable set of 19 numbers from which to test themethod. This
OR
OR