Write the method that finds the first 4 numbers out of 100 randomly generated numbers. After the numbers are generated in main, they should be sent to the method given as an example below and the smallest four numbers should be found. Write the numbers found on the console screen in the main method.(will be coded in java)
Method name: public static int[] smallestFindFirstFourth(int[] array)
Note: Sorting algorithms or ready-made functions will never be used.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here