Implement a client program with a main method to demonstrate the evolution of the sales tax rates in the 50 US states over the last 10 years. Declare a two-dimensional array of values representing the sales tax rates. Dimension 1 represents the state and dimension2 represents the year.
- Populate the array with random values between 0.0 and 0.06 using a nested for loop.
- Print the content of the 2D array using nested for loop. Make your output verbose.
- Use a nested for loop to return the index of the state that has the highest average tax rate over the years.
- Create an array that contains the indexes of the states that have had at least one year with a tax rate less than 0.001. Hint: You would need to use a nested for loop
- Print the contents of the array created in step-c using a for loop.
- Use a nested for loop to print the highest sales tax rate over the years for each of the states.