#program to split a bill between n people bill=float(input("Enter total amount of bill: ")) n = int(input("Enter number of people: ")) tip = round(bill * 0.1,2) billPlusTip = round(bill*1.1,2) print("Tip = ",tip, " Bill plus tip ", billPlusTip) billbetweenN= billPlusTip/n billbetweenN=round(billbetweenN,2) print("Each person owes ",billbetweenN)