Question: 1 . 4 . Q 4 : Fix another function so it passes the autograder The function compute _ tip is supposed to take variables

1.4.Q4: Fix another function so it passes the autograder
The function compute_tip is supposed to take variables subtotal and percentage (a number betwen 0 and 100) and to return how much to tip for a check. It is then called by display_tip to print a message to the customer.
However the code is currently failing the autograder tests. Fix compute_tip so that all tests pass correctly.
1 . 4 . Q 4 : Fix another function so it passes

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 Programming Questions!