Note: The calculation is performed by the ticketing machine given to the bus conductor so the conductor cannot cheat you!
BMTC divides the routes into stages. Following is the 'Fare Table' of BMTC Bus No 45. You can get the 'Fare Table' for your route from the conductor....Please Ask!
Now the stage you climb the bus is the Stage 1 for you and of course the stage you get off is the last stage for you. Lets see the following examples of fare calculation with the previous assumption.
- KAMAKYA to KBS = Stage 8 - Stage 0 = 8 Stages crossed = Rs 16
- BANK COLONY to GOODS Road = Stage 7 - Stage 4 = 3 Stages Crossed = Rs 9
- GOODS ROAD to KBS = Stage 8 - Stage 7 = 1 Stage crossed = Rs 5
int start= stageList.indexOf[YOUR START STAGE]
int end = stageList.indexOf[YOUR END STAGE]
Hope the calculation is clear!