The mid american bus company charges fares to passengers based on the number of travel zones they cross. additionally, discounts are provided for multiple passengers traveling together. ticket fares are shown in the following table:
zones crossed
passengers 0 1 2 3
1 7.50 10.00 12.00 12.75
2 14.00 18.50 22.00 23.00
3 20.00 21.00 32.00 33.00
4 25.00 27.50 36.00 37.00
develop the logic for a program that accepts the number of passengers and zones crossed as input. the output is the ticket charge