Skip to content

perakerberg/TollCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toll fee calculator 1.0

A calculator for vehicle toll fees.

Background

Our city has decided to implement toll fees in order to reduce traffic congestion during rush hours. This is the current draft of requirements:

  • Fees will differ between 8 SEK and 18 SEK, depending on the time of day
  • Rush-hour traffic will render the highest fee
  • The maximum fee for one day is 60 SEK
  • A vehicle should only be charged once an hour
  • Some vehicle types are fee-free
  • Weekends and holidays are fee-free

Your assignment

The last city-developer quit recently, claiming that this solution is production-ready. You are now the new developer for our city - congratulations!

Your job is to deliver the code and from now on, you are the responsible go-to-guy for this solution. This is a solution you will have to put your name on.

Instructions

You can make any modifications or suggestions for modifications that you see fit. Deliver your results via e-mail.

About

A calculator for vehicle toll feees

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages