Anda di halaman 1dari 2

sn brand Paid via Amount Task1 Task2 Task3

1 micromax credit card 10000 1500 1500


2 samsung debit card 15000 2250
3 microsof cash 25000
4 sony cheque 8000 1200
5 apple credit card 40000
6 micromax cheque 5000 750 750
7 samsung cheque 2000 300
8 micromax debit card 3000 450 450
9 sony cash 500 75
10 apple cheque 1000
11 microsof cheque 20000
12 microsof debit card 3000
13 sony credit card 5000 750
14 sony debit card 7000 1050
15 micromax cash 800 120 120 120
16 samsung credit card 6000 900
17 samsung cash 8000 1200
18 microsof credit card 6000
19 apple cash 500
20 apple debit card 700

task 1 give discount of 15% to micromax else 0


task 2 give discount of 15% to micromax , sony and samsung else 0
task 3 give discount of 15% to micromax, if paid via cash, else 0
task 4 give discount of 15% to micromax and samsung ,if payment in
task 5 give discount of 15% to micromax if payment in cash,samsung i
task 6 give discount of 20% apple,30% sony,40% microsof

10:44:0207/07/2019
Task4 Task5 task6
1500 1 PAID VIEW
CREDIT CARD
DEBIT CARD

2400 CASH

8000 CHEQUE

750 750
300 300 BRAND
450 MICROMAX

150 SAMSUNG

200 MICROSOFT
SONY
APPLE

1500
2100
120 120

100
140

ung else 0
else 0
f payment in cheque, else 0
sh,samsung if payment in cheque
f

10:44:0207/07/2019

Anda mungkin juga menyukai