I need help with this Java programming assignment (make sure tomeet all the requirements):
Declare an array to hold ten doubles. Use afor loop to add ten randomdoubles, all in the range from 20.0 to 60.0, inclusive, tothis array. Use a foreach loop to print allelements of the array accurate to four decimalplaces, one element per line. Pass the array of doubles toa method that executes as follows:
uses a for loop and a Math class method toround up each element to its nearest integer.
creates a 10-element array of ints namedtemp.
uses another for loop to casteach element of the double array to
PayPal Gateway not configured
PayPal Gateway not configured