Question: 2) Open a script M-file, name it TipCalcTable.m Paste this code into it bill [25.87 120.30 155.64 252.78 325.13] group [146914] ; Add code to
2) Open a script M-file, name it TipCalcTable.m Paste this code into it bill [25.87 120.30 155.64 252.78 325.13] group [146914] ; Add code to display the table exactly as it is shown below, which gives the total bill including tip, and what each person in the group should pay if the bill is split evenly. Do not use the MATLAB table function. Have the instructor sign off on your results, and publish the results in a pdf file named TipCalcTable.pdf. Don't forget to add documentation to the script file. Number Total bill Per person 29.75 138.35 183.66 303.34 406.41 29.75 34.59 30.61 33.70 29.03 14 Code checked
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
