This is a simple C# console application that simulates a drone delivery system for BYUI. The user can add items to a cart, check out, and receive an estimated delivery time based on the package's weight and the distance to their street.
- Menu Options:
- Add items to the cart
- Remove items from the cart
- View the cart
- Checkout and get estimated delivery time
- Exit the program
- Street Distance Calculation: The program reads distances from a file (
streetDistances.txt
) to calculate delivery time.
- Run the program.
- Follow the menu to add or remove items, view your cart, or check out.
- Enter your street name at checkout to get an estimated delivery time.
- C# with .NET 8.0
- Text File:
streetDistances.txt
should be in the same folder.
- Clone the project.
- Build and run with:
dotnet run