For Homework:
- Continue with the project and make the menu infinitely loop.
- Then do three of the options shown below, add a restaurant, list them all, and exit.
- Make sure to use hashmap this time and look to the project we did to help you out.
1. Add restaurant
2. List all restaurants
3. Find a Restaurant
4. Find all new Restaurants (2020 or newer)
Enter your selection (enter "exit" to quit): 1
ADD NEW RESTAURANT
Restaurant name: Alex Boba
Restaurant phone: 123-456-8732
Restaurant founded: 1999
Restaurant cuisine: Chinese
1. Add restaurant
2. List all restaurants
3. Find a Restaurant
4. Find all new Restaurants (2020 or newer)
Enter your selection (enter "exit" to quit): 2
LIST ALL RESTAURANTS
Alex Boba - 123-456-8732 - 1999
1. Add restaurant
2. List all restaurants
3. Find a Restaurant
4. Find all new Restaurants (2020 or newer)
Enter your selection (enter "exit" to quit):