Question: matlab . please do asap QUESTION 1 [15 MARKS] The prices for bus ticket to the selected destination are listed in Table 1: Table 1
![matlab . please do asap QUESTION 1 [15 MARKS] The prices](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66debb6e414a2_00566debb6dc9c18.jpg)
matlab . please do asap
QUESTION 1 [15 MARKS] The prices for bus ticket to the selected destination are listed in Table 1: Table 1 Destination Adult price (RM) 50 55 Children price (RM) 20 35 Kuala Lumpur Kuala Terengganu Alor Setar 60 40 a) Create a program to prompt the user to enter the destination listed in Table 1, as well as number of adult and children. Display the ticket price for the adult and children for each destination. [7 Marks] [CO2, PO4, C3] b) Create a command to calculate the total price ticket for all destinations given to prompt user to enter the number of adult and children. Test the program to determine the total cost for two (2) adults and three (3) children. Create a table that shows the total price for two (2) adults and three (3) children (use fprintf to perform this task). 18 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
