Arrays Assignment in Java
1. Suppose you are doing a report on speeding. You have the datafrom 10 different people who were speeding and would like to findout some statistics on them. Write a program that will input thespeed they were going. You may assume that the speed limit was 55.Your program should output the highest speed, the average speed,the number of people who were between 0-10 miles over, the numberbetween 10 and 20, and the number over 20. Your program shouldprint out these results.
2. Create a list of 100 randomly generated numbers (between 1and 100). Print the list out in order, print the list out inreverse order, print out how many of each number was generated.