Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A software company sells a package that retails for $99. Quantity discounts are

ID: 3527155 • Letter: A

Question

A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10

Explanation / Answer

I hope that you know some of this, or else you are going to be in a lot of trouble. Hree are the steps: - Create a class. - Create a main method. - Ask the user to input the amount. - Get the amount. - Using the amount, have an if-else statement to determine the discount. IN my humble opinion, it is better to start the if statement on the largest amount and go to the lowest amount. if (amount >= 100) else if (amount >= 50) else if (amount >= 20) else if (amount >= 10) else - Calculate the cost of the packages. - Calculate the amount of discount. - Calculate the total, cost - discount. - Output what you need. If, by any chance, you don't know how to use NetBeans, then that is a totally different subject. YOu might be able to find something here: http://netbeans.org/kb/ Good luck with it.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote