Part 1- Method practice
Create a main method. In there, make an array of 100 randomintegers(numbers between 0 and 1000).
Create a method to find average of the array. Pass the array andreturn the number(double) that is the average
In the main method, call the method created in Step 2. Print outthe average
Create a method to find the min value of the array. Pass thearray and return the int that is the smallest.(pass the value notthe index of the value)
In the main method call the method made in Step 4. Print out theminimum
In the main method print out the first and last value
PayPal Gateway not configured
PayPal Gateway not configured