The Whippet Bus Company charges prices for tickets based ondistance traveled, as
ID: 3618791 • Letter: T
Question
The Whippet Bus Company charges prices for tickets based ondistance traveled, as follows:
Write a program that allows a user to enter a tripdistance. The output is the ticket price
Distance (miles) Ticket Price ($) 0-99 25.00 100-299 40.00 300-499 55.00 500 and farther 70.00