thank you..can this also be considered as right solution?

let cost of price =250;

and with 20% profit he should get 250+50=300 rupees from each customer

but customer paid only 85% which is 300*0.85=255 rupees customer paid

so if 50 rupees add on to cost makes 20% profit => then 5 rupees(as 255 only received) makes 5*20/50=2% profit..is this logic correct?

let cost of price =250;

and with 20% profit he should get 250+50=300 rupees from each customer

but customer paid only 85% which is 300*0.85=255 rupees customer paid

so if 50 rupees add on to cost makes 20% profit => then 5 rupees(as 255 only received) makes 5*20/50=2% profit..is this logic correct?