A software company sells a package that retails for $109. Quantity discounts are givenaccording to the following table.
Write a program using the if/else if/else statement that asks for the number of units soldand computes the total cost of the purchase and the savings due to the discountapplied. The program should also display the number of units purchased and thediscount in percentage. The output should include the following text:Number of units purchased is:Discount applied is:Total savings due to discount is:The total cost of the purchase is:Do NOT use the switch statement, any logical operator or anything that looks likeone in the program. You will not receive credit for the program if you do. SeeProgram 4-9 on page 183 of your textbook for help.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here