Question: A restaurant uses a system to make a recommendation how much to tip the server. The tip should be 15% of the check, with a
| A restaurant uses a system to make a recommendation how much to tip the server. The tip should be 15% of the check, with a minimum of $2. For example, if the check is $25.98, this function should return "Tip is $3.897" restaurant_tip(100) 'Tip is $15.0' restaurant_tip(10) 'Tip is $2.00' restaurant_tip(5) 'Tip is $2.00' |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
