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 10Explanation / 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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.