Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An online store is offering a special deal to customers. For every 50 dollars the customers spend, they get 5 dollars off their entire order.
An online store is offering a special deal to customers. For every 50 dollars the customers spend, they get 5 dollars off their entire order. If the customer spends over 100 dollars, they get free shipping on their order. Shipping costs 10 dollars on any order normally. Create a program in c++ that prompts the user for the amount of money spent on their purchase, then display the total cost before discounts, the amount saved through discounts, and the total after discounts.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started