You need help writing a simple computer program for a hardware store. You need to write javascript for it.
A hard ware store needs a program to showthe amount of original order, amount of any discounts, subtotal, amount of tax( zero for old people) and the final amount of the bill. Onley one discount per customer.
Employess get 10% discount, orders over $800 get a 5% discount, and contractors get a 20% discount. the program will take in the total of the order, apply any discount, apply 8% sales tax and come up with the final amount of the order.
Customer over 90 year old do not have to pay sales tax.
Customer gets highest discount they have earned. Help with The java We are using the nesting principal with "if" "else" "else if".