Assignment title: Information
The Rocky car park management has asked you to write a program to help employees determine the fees for cars using their car park and to also produce some statistics You are to write a Java Console Application (CarPark.java) which will allow employees to enter the details of N cars' licence plate and the number of hours spent at the Rocky car park. N should be equal to the highest digit in your student ID, use N=3 if your highest digit is less than three. For each car the program will prompt for and accept the licence plate number of the car and the length of stay at the car park (in whole hours), it will then display the total cost of parking (see sample output below for formatting details). The pricing structure for parking is (maximum twelve hours): The first hour will cost $7.50. The next three hours will cost $4.50 per hour. The next four hours will cost $3.50 per hour. The remaining hours will cost $2.50 per hour. When all cars' licence plate numbers and hours stayed have been entered you need to report the maximum and minimum stay (in hours) and the relevant licence plate numbers, the average stay and the total parking fees which have been collected. The required Java Console Application should allow the user to: 1. For each of the N cars: enter the Licence plate number, and then enter the Length of stay in whole hours. The program will output the fee for the car's stay. All dollar values will be formatted to two decimal places (see implementation below with help for doing this). 2. You must ensure the licence plate is not blank so you must implement a validation loop so a valid licence plate number is entered. The number of hours must be between 1 and 12 inclusive and you will also need to implement a validation loop so valid hours are entered. The