Question: Write a Java program that will help a user find a restaurant based on criteria that they specify. Your program will start by prompting the

Write a Java program that will help a user find a restaurant based on criteria that they specify. Your program will start by prompting the user to enter a path to a folder that contains a number of CSV files. Each file will contain a list of restaurants. The information in the CSV files will be formatted as follows: Restaurant Name, Location, Cuisine Type, Description, User Rating After the user enters a path to a folder, your program will load all of the restaurant data from all of the files in that folder. Your program will then provide the user with the options below to select from (the user will select an option by entering its number). Based on the user's selection the user may be prompted for additional input, depending on their selection: [1] Show the highest rated restaurant(s). If there are multiple restaurants with the same highest rating, show all. [2] Find restaurants based on their cuisine type. By selecting this option, the user will be provided with a list of cuisines to choose from, and your program will list all restaurants that match that cuisine. The list of cuisine types should be built based on the cuisines of restaurants in the files. [3] List all restaurants sorted by name in alphabetical order. [4] List all restaurants sorted by cuisine type in alphabetical order. [5] List all restaurants sorted by rating from highest rating to lowest. [6] List all restaurants sorted by location in alphabetical order. [7] Search by location. By selecting this option, the user will be provided with a list of locations to choose from, and your program will list all restaurants that match that location. The list of locations should be built based on the locations of restaurants in the files. [8] Search restaurants by keyword. By selecting this option, the user will be prompted to enter a keyword. Your program will return a list of all the restaurants with a name OR a description containing a match for that keyword (no duplicates). Remember that you will be reading restaurant data from multiple files, these files are in CSV format. Each restaurant will be represented in a single line in the format shown below. Each file will contain multiple restaurants: Restaurant Name, Location, Cuisine Type, Description, User Rating
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
