This project is part of our final submission for the Data Structures and Algorithms subject. The system is designed to calculate the cost of international calls based on region, time of day, and day of the week, employing efficient data structures and algorithms to ensure accurate and quick computations.
-
Region-Based Rates:
- American Region: Different rates for daytime and nighttime, weekdays and weekends.
- Asian Region: Adjusted rates based on call duration, with distinct rates for day and night, and weekdays and weekends.
- African Region: Variable rates for different times of day and week.
- European Region: Charges based on shorter intervals, with differing costs for day, night, and weekend calls.
-
User Interaction:
- Prompts users to enter the destination region, time of day, day of the week, and call duration.
- Validates inputs to ensure accuracy.
-
Cost Calculation:
- Utilizes flat rate billing, calculating the total cost based on predefined time intervals.
- Displays the final cost with detailed breakdown: region, time, day, duration, and total amount due.