Question: this need to be done in MATLAB 5. Switch/case Problem: You are working for a travelling agency that makes arrangements for travelers to three cities:

this need to be done in MATLAB this need to be done in MATLAB 5. Switch/case Problem: You are

5. Switch/case Problem: You are working for a travelling agency that makes arrangements for travelers to three cities: Atlanta, Chicago, and New York. You have been asked to assist with writing a program to seek user option for city they like to travel (you can ask user to enter answer in lowercase). Your input should take into account that the user is going to enter a string. If the city is Atlanta, display The price is $250'; if the city is Chicago, display "The price is $350', if the city is New York, display 'The price is $400', for all other cities, display 'Not on File'. For screenshots of code, show the result of New York and an incorrect input. (You are showing results of two different inputs)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!