Question: # FIXME: Write the split _ check function. HINT: Calculate the amount of tip and tax, # add to the bill total, then divide by
# FIXME: Write the splitcheck function. HINT: Calculate the amount of tip and tax,
# add to the bill total, then divide by the number of diners.
Your solution goes here
bill floatinput
people intinput
# Cost per diner at the default tax and tip percentages
printfCost per diner: $splitcheckbill people:f
bill floatinput
people intinput
newtaxpercentage floatinput
newtippercentage floatinput
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
