r/javahelp • u/miatenelle • Sep 27 '15
HELP software sales program
The price of a product is $69. Quantity discounts are given in the following Quantity Discount 5-14 =Discount :10% 15-34 = Discount :20% 35-54 = Discount :30% 55 or more = Discount :40%
Your program should let the user enter the number of products purchased. Then, the program should display the total purchase amount after discount
2
u/ibtokin Sep 28 '15
What exactly are you having trouble with? We're not going to do your homework for you.
2
2
Sep 28 '15 edited Sep 28 '15
What is the problem? Tell us how you would do this problem with a calculator and then walk through that process. Try programming your method. Tell us where you get stuck
2
u/AnEmortalKid Coffee Enthusiast Sep 28 '15
Cool. So you need to take user input. Then do a bunch of checks and then display the calculation.
2
2
u/desrtfx Out of Coffee error - System halted Sep 28 '15
Please, read and follow the posting guidelines as are linked in the sidebar.
Your post violates quite a few of them:
Description of assignment only - Asking for your homework to be done for you is a strict no-go here
No clear question from your side - in fact, you didn't even ask a single question
No effort shown from your side. We will help you fix your code, but we will not do the code for you
In short: Show us what you have already made, tell us exactly where you are stuck and we will help you.
As it stands right now, your post is basically of the "do my homework" type which is against our subreddit rules and would justify instant deletion without even notifying you.
2
u/bolt_krank Sep 28 '15
What's the problem ?