#Tip Calculator
#If the bill was $150.00, split between 5 people, with 12% tip.
#Each person should pay (150.00 / 5) * 1.12 = 33.6
#Format the result to 2 decimal places = 33.60
#Tip: There are 2 ways to round a number. You might have to do some Googling to solve this.πͺ
#Write your code below this line
bill = float(input("What is the total value of the bill?"))
tip = int(input("What percentage tip would you like to pay, 10, 12 or 15?"))
many = int(input("How many people will be splitting the bill?"))
percent = tip / 100
total_tip = bill * percent
totalBill = bill + total_tip
split = totalBill / many
results = round(split, 2)
results = "{:.2f}".format(totalBill)
print(f"You will each pay Β£{results}")