Skip to content

A project developed for the final submission of the Data Structures and Algorithms subject.

Notifications You must be signed in to change notification settings

aemiio/telephone-case-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telephone Cost Calculator System

Description

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.

Features

  • 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.

About

A project developed for the final submission of the Data Structures and Algorithms subject.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages