Question: Create a function called myBillDivider that has the inputs bill, tip_percent, and numPeople and the outputs roundedAmt and actualAmt. The tip should be a decimal-point
Create a function called myBillDivider that has the inputs bill, tip_percent, and numPeople 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
We are using MATLAB..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
