# Allison Obourn
# CSC 110, Spring 2018
# Lecture 5

# This program calculates the total owed,
# assuming 8% tax / 15% tip

def main():
    subtotal = 38 + 40 + 30
    print("Subtotal: ", end="")
    print(subtotal)

    tax = subtotal * .08
    print("Tax: ", end="")
    print(tax)

    tip = subtotal * .15
    print("Tip: ", end="")
    print(tip)

    print("Total: ", end="")
    print(subtotal + tip + tax)

main()
