Loading
Home › Computer Science Help › C++ homework Discount Choice Assume that the user has two...
Status: Completed

C++ homework Discount Choice Assume that the user has two coupons: one for $15 off a purchase or $50 or more and the other that is 20% off any purchase. Ask the user to enter the purchase amount. Do the necessary calculations and display whether it will save him or her more money to user the first or the second coupon. For example, with a $100 purchase the user has to pay $85 if the first coupon is applied and $80 if the second coupon is applied (the second coupon saves more money). With a $30 purchase, the first coupon is not applicable, but with the second coupon the user has to pay $24, so the second is better. Finally, if the bill is $60, the user pays $45 with the first coupon and $48 with the second, so the first coupon saves more.

Date Posted: 22/09/2015
Category: Computer Science
Due Date: 22/09/2015
Instruction
C++ homework...

Discount Choice....

Assume that the user has two coupons: one for $15 off a purchase or $50 or more and the other that is 20% off any purchase. Ask the user to enter the purchase amount. Do the necessary calculations and display whether it will save him or her more money to user the first or the second coupon.

For example, with a $100 purchase the user has to pay $85 if the first coupon is applied and $80 if the second coupon is applied (the second coupon saves more money). With a $30 purchase, the first coupon is not applicable, but with the second coupon the user has to pay $24, so the second is better. Finally, if the bill is $60, the user pays $45 with the first coupon and $48 with the second, so the first coupon saves more.
Attached
No File uploaded yet.
Bidders
seniorwritersteve 11 years ago
Rated 8.6 earned 16849.88 around 514 assignments.
This is my area of expertise
$15.00
  • Can you do it, and send it as txt. file ?
    User_6818 | Sep 22, 2015, 02:50 AM
  • yes will do that
    seniorwritersteve | Sep 22, 2015, 02:51 AM
  • great... the due date is tomorrow at 7 pm eastern time. hope you get it done before that time... thanks in advance.
    User_6818 | Sep 22, 2015, 02:54 AM
  • ok cool you will have it by then
    seniorwritersteve | Sep 22, 2015, 02:57 AM
  • hi, kindly release funds. Thank you
    seniorwritersteve | Sep 24, 2015, 23:44 PM
  • I just did , thanks for the help
    User_6818 | Sep 25, 2015, 16:17 PM
  • hello, I got a good grade on the last HW you helped me with. I still have more than 8 homeworks in the entire semester, can you help me with them ? Thanks in advance
    User_6818 | Apr 10, 2015, 19:28 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}