Computer Science, asked by dhanyakrishnan006, 5 months ago


C programming


Check if customer has a membership with the store.
If he is member, then he gets an extra 5% discount
on every purchase, but if purchase amount of
member is above Rs.1000 then he gets total discount
of 15% on purchase price. For example, if Rajesh does
purchase of Rs. 1800 which is above Rs.1000 and he is
not member of store he gets discount of 10%.
But If Rajesh is member of store then he gets total
15% discount on Rs.1800 since its above Rs.1000, but
if he does purchase of Rs.800 which is below Rs. 1000
then he gets only discount of 5%.
Given , Items and price.
Item No
Items
Price
1.
2.
3
4.
5.
Yoghurt
Cheese
Milk
Fruit
Oil
50
100
40
200
300
Calculate the actual price customer has to pay.
Example 1:
135
216
у
1649.OINR​

Answers

Answered by vedanth09
0

Answer:

y96g85x8x5969 x 6c8ct8tct9cy9y9y9y

Similar questions