Lab#9 FinalCost

You are currently viewing a revision titled "finalcost python program source", saved on May 26, 2013 at 8:43 am by Anne Menmou
Title
finalcost python program source
Content
# The program calculate the final cost # Given the price or cost and the sales tax percentage # The program should ask the user for #        1- The price of the item(s) #        2- The sales tax percentage # # Finally the program should calculate the final cost and display it. price=float(input("Inter the price/cost : ")) tax_percentage=float(input("Inter the sales tax percentage : ")) total_tax=(price*tax_percentage)/100 final_cost=price+total_tax print("This is the final cost: ", final_cost)
Excerpt
Footnotes


Old New Date Created Author Actions
May 26, 2013 at 12:43 pm Anne Menmou