The MidAmerica Bus Company charges fares to passengers based on the number of travel zones they cross.

Question:

The MidAmerica 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 Table 8-5.


Develop the logic for a program that accepts the number of passengers and zones crossed as input. The output is the ticket charge.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: