subject

You have been tasked with writing a program for a hardware store. they sell home improvement supplies to employees, contractors and the general public. they have three different types of discounts. employees get a 10% discount, orders over $800 get a 5% discount, and contractors get a 20% discount. a customer can get only one discount but they may have an order over $800, be an employee and/or a contractor (or any combination) so you want to be sure to give them the largest discount they have earned and don’t ask them which of those they can be, because they can be all or none of them. the program will take in the total of the order, apply any discounts, apply 8% sales tax and come up with the final amount of the order. customers over 90 years old do not have to pay sales tax. they want to see the amount of the original order, the amount of any discounts, the subtotal, the amount of tax (zero for old people) and the final amount of the bill. make sure you not only get the correct answer but your code is efficiently written. don’t ask unnecessary questions (ie don't ask them if they are employee if they are a contractor, that's already the highest discount) and pay attention to how you nest your if statements.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:00
"in program arrays12.java a swap method is called. does the swap method exchange parameter values x and y? "
Answers: 3
question
Computers and Technology, 22.06.2019 12:10
Linux is distributed under gnu gpl. why is this important? a. it ensures that only torvalds can profit from the sale of linux b. it prevents unknowledgeable users from downloading programs they don't know how to operate. c. it provides protection for the developers who created linux. d. it states that anyone can copy, modify, and share the program if changes are made public.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
You know the right answer?
You have been tasked with writing a program for a hardware store. they sell home improvement supplie...
Questions
question
Biology, 05.05.2020 08:33