Question: Please do it in Matlab, Thank you Assignment 5B Write a function that calculates the retail price of an item. - The wholesale price of

Please do it in Matlab, Thank you
Assignment 5B Write a function that calculates the retail price of an item. - The wholesale price of the item will be passed in from another script that calls the function, - Use a markup rate of 25%. - Return the retail price to the calling script, don't print it out. - Save your function as an .m script. Write a test script that will use your function - Have the user input the wholesale price of the item. - Call the function to calculate and return the retail price. - The calling script will print out this: Retail price is $x.xx - Use the dollar sign and two decimal points to print out the tax. - When the program ends, the Command Window cursor should be on a new line. Save your test script as a second .m script. Turn in both .m scripts to Learn Assignment 5B Command Window >> TestRetail Enter wholesale price: $100 Retail price is $125.00 fx >>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
