Skip to content

New in the town and don´t know which bus fare to choose? Just write the number of days you´re going to stay and the number of rides you´re planning to make. This program will help you to choose the cheapest option for you out of three tariffs: Pay-Per-Ride, 7-day Unlimited and 30-day Unlimited.

Notifications You must be signed in to change notification settings

Tonya209/Bus-Fare-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Bus-Fare-Calculator

Imagine coming to a new city where you need to use public transport (a bus in our case). How do you know which ticket to buy: a single ticket, a 7-day ticket, or 30day unlimited? Which tariff is cheaper? This program helps you to choose the cheapest tariff (depending on how many days you´re staying and how many trips you´re going to take) and it will also show you the price per ride. It is written in Java and it makes use of Arrays to calculate the best bus tariff.

About

New in the town and don´t know which bus fare to choose? Just write the number of days you´re going to stay and the number of rides you´re planning to make. This program will help you to choose the cheapest option for you out of three tariffs: Pay-Per-Ride, 7-day Unlimited and 30-day Unlimited.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages