write a simple java program that will read an array of information containing the information (Name, offence [between arson, assault or theft] and year of offence. The program then must prompt the user (police, as this is a police database) for the specific type of crime they are searching for. The program is to search the criminal record file of 8 criminals that you have previously read and stored in arrays and print complete statistics on all criminals who were found guilty of a crime in the category that the officer requested.
A menu is required that has the following options:
- Enter Criminal Data
- Display matching Crime
- Exit Program