Please, i need this java code as soon as possible. I have 4errors and i can not fix them !!!
The following declarartion is used throughout thisexample.
double [ ] sales = new double[ 10];
int index;
double largestSale, sum, average;
The professor needs to write only one java code based on thatdeclaration above that (1) initialize every component of that arrayto the value 0.
(2) Read data from the keyboard and store it in that array. Youwill be filling the whole array.
(3)Print all of the items in that array in reverse order.
(4)Find the sum and the average of the elements in thatarray.
(5)Determine the smallest and
PayPal Gateway not configured
PayPal Gateway not configured