1) prompts the user to enter the value of the sale with the following statement:
“Enter the value of the company’s sales in dollars in August 2013:”
2)The sale value should be stored in a variable of type float
3)Compute the sales tax based on 6% of the sale
4) Print the resulting sales tax in the following format:
“The sales tax is $ for August 2013 ”
This is the code I currently have
Expand|Select|Wrap|Line Numbers
- salevalue = int(input("Enter the value of the company's sales in dollars in August 2013"))
- saletax = float(salevalue*0.06)
- print("The sales tax is" + saletax + "for August 2013")