Answered step by step
Verified Expert Solution
Question
1 Approved Answer
7. An E-commerce site has the following cash back offers. (i) If purchase mode is via website, an initial discount of 5% is given on
7. An E-commerce site has the following cash back offers. (i) If purchase mode is via website, an initial discount of 5% is given on bill amount. (ii) If purchase mode is via phone app, an initial discount of 10% is given on bill amount (iii) If done via any other purchase mode, the customer is not eligible for any discount. Every purchase eligible to discount is given 10 reward points. (a) If the reward points are between 100 and 200 points, the customer is eligible for a further 20% discount on the bill amount after initial discount. (b) If the reward points exceed 200 points, the customer is eligible for a further 25% discount on the bill amount after initial discount. Taking purchase mode, bill amount and number of purchases as input; draw a flowchart to calculate and display the total reward points and total bill amount payable by the customer after all the discount calculation
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