A vet needs a computer program to input a payment from a customer and calculate the tax.
Follow the tasks below and see if you can solve the problem!
Continue the code to also get the user's address from the keyboard.
Create 4 sentences in the console. Here are some examples:
If there is an error, it is probably a syntax error. Syntax is the punctuation of a programming language. Double check your punctuaution!
Vincent The Vet has an offer for repeat customers.
A repeat customer only pays 10% tax. Everyone else still pays 20% tax.
Update your code so that the program also asks if the customer is a repeat customer.
IF the answer is yes, the tax is 10% of the payment.
ELSE, the tax is 20% of the payment.
Once all of the data is entered and the results are displayed, a dog barks.
Download the mp3 file, save it in your project folder and research how to make this happen. The user should not have to click a play button, the dog will bark automatically.
Submit your solution as instructed by your tutor.
browser file tags body save h1 html h4 h2 structure refresh h3 be organised! console parseInt variable input