Question: Write a java program that will read two .csv files one with the hotel room information and another with schedule. Store the data in appropriate
Write a java program that will read two .csv files one with the hotel room information and another with schedule. Store the data in appropriate data structure for further manipulation. Take user input like, Capacity, roomType,date and suggest a room that is available and match the requirement of user, allow user to choose from the suggestion. Also make sure to update schedule.csv file at the end after user selects the room.
data.csv
| RoomNo, | Building | Capacity, | RoomType, |
| 42, | main, | 4, | Economy |
| 32 | second | 3, | Deluxe |
schedule.csv
| roomNo | Building | Date | Available |
| 42, | main, | 2019-12-14, | No |
| 32, | second, | 2019-03-04 | Yes |
| 51, | main, | 2019-02-05 | Yes |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
