Question: 1 . 4 . Q 4 : Fix another function so it passes the autograder The function compute _ tip is supposed to take variables
Q: Fix another function so it passes the autograder
The function computetip is supposed to take variables subtotal and percentage a number betwen and and to return how much to tip for a check. It is then called by displaytip to print a message to the customer.
However the code is currently failing the autograder tests. Fix computetip so that all tests pass correctly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
