The program below is designed to help a user determine the tip they should pay on a bill. You should multiply the initial bill (like 10.0) by a percentage in decimal form (like 0.10) to get the tip (1.00). You then add the tip (1.00) to the original bill (10.0) to get the final total (11.0).

The program is not working as intended. Use a code review to check the comments and calculations by tracing from top to bottom. Fix the two logic errors so that the program works as expected.

The following examples demonstrate the expected program output.

How much is the bill? 100
What percentage do you want to tip? 10
Your tip should be: 10.0
Your total will be: 110.0
How much is the bill? 70
What percentage do you want to tip? 15
Your tip should be: 10.5
Your total will be: 80.5

#get the amount of the initial bill
bill = int(input("How much is the bill? "))

#get the percentage of the tip as an integer
tip = int(input("What percentage do you want to tip? "))

#change the integer percentage to a decimal number
percent = tip/100

#calculate the tip using the decimal percent
tipCalc = bill + percent

#print the tip amount
print("Your tip should be:", tipCalc)

#calculate the total
total = tipCalc * bill

#print the total
print("Your total will be:", total)

#get the amount of the initial bill

bill = float(input("How much is the bill? "))

#get the percentage of the tip as an integer
tip = float(input("What percentage do you want to tip? "))

#change the integer percentage to a decimal number
percent = tip/100

#calculate the tip using the decimal percent
tipCalc = bill * percent

#print the tip amount
print("Your tip should be:", tipCalc)

#calculate the total
total = bill + tipCalc

#print the total
print("Your total will be:", total)