Question: In a script called trainCost.m prompt the user to enter the name of a city and use the switch statement to find the cost of

In a script called trainCost.m prompt the user to enter the name of a city and use the switch statement to find the cost of a train ticket to that city and display the cost in a proper message. Use the following list to determine the cost: destination cost Boston $345 Denver $150 New York $236 Lost Angeles $500 If the city is not on the list, display a proper message. For example, if the use enters Honolulu, the message should be " Sorry, this station does service to Honolulu!" Upload your script here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
