A customer has a choice to buy TV from Set of 3 Company Models provided By Store.
If customer takes an Exchange offer,
• Then customer gets in working condition
discount of 2% if old TV is not
• customer gets discount of 20% if old TV is in
working condition
If customer do not opt for Exchange offer then, he has to pay MRP of TV as amount Display the amount customer Has to Pay.
Menu For TV Condition Should be displayed Only if
customer choose for Exchange Offer When user enters invalid option then code should stop with message "INVALID INPUT", it is should be
displayed in same format as it is case sensitive. Make sure output text should be in exact format
mentioned above
Assume following List is already seen by customer. There should be 3 Inputs for each question whose
answer should be a number given with that choice.
First Input Choice Display List (Select TV Mod
Note: You need t
First Input Choice
Display List ( Select TV Model)
1. Samsung 10000
2. Onida 7000 3. HDLC 6000
Second Input Choice
Want to take Exchange Offer
1. Yes
2. No
Third Input Choice
Current Condition of customer's old TV
1. Working 2. Not Working
For Example, if customer want H TV HDLC and he want to opt Exchange offer for his old TV which is in working condition then output will be 4800.0 INR All Input values Should be entered in Following 3
Format.
1 1
Output 4800.0 INR
Note that when customer do not opt for Exchange Offer, there will be only 2 Inputs.
Answers
Answered by
0
Answer:
3200 INR
Explanation:
3 input = 4800 INR
2 input = (?)
2 x 4800 / 3 = 3200
Similar questions
Math,
3 months ago
Math,
3 months ago
Math,
6 months ago
Social Sciences,
11 months ago
Biology,
11 months ago