Hey there! ๐ Welcome to my solution for the Nymble Software Development Engineer (SDE) Internship assignment! This README will walk you through how I tackled the problem, the structure of my solution, and how you can run the code yourself.
- The repository is organized into the following directories:
src
: Contains the Java source code for the implementation of the travel package management system.test
: Contains the JUnit test cases to validate the functionality of the implemented classes.
- To run the tests, you can execute the JUnit test classes located in the
test
directory. - Ensure that you have JUnit set up in your development environment.
- Run
Main.java
to get the output as following
- Print itinerary of the travel package including:
- travel package name,
- destinations and details of the activities available at each destination, like name, cost, capacity and description.
- Print the passenger list of the travel package including:
- package name,
- passenger capacity,
- number of passengers currently enrolled and
- name and number of each passenger
- Print the details of an individual passenger including their
- name,
- passenger number,
- balance (if applicable),
- list of each activity they have signed up for, including the destination the at which the activity is taking place and the price the passenger paid for the activity.
- Print the details of all the activities that still have spaces available, including how many spaces are available.
- Gautam Mandal
- [email protected]