Question: for MATLAB 9. Create a function called myBillDivider that has the inputs bill, tip_percent, and num People and the outputs roundedAmt and actualAmt. The tip

for MATLAB
for MATLAB 9. Create a function called "myBillDivider" that has the inputs

9. Create a function called "myBillDivider" that has the inputs "bill," "tip_percent," and "num People" and the outputs "roundedAmt" and "actualAmt". The "tip" should be a decimal-point number between 0 and 1. This function should calculate the exact amount per person needed given a bill amount, tip percentage, and number of people. (3.0)

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!