Given: Number of sweets bought =120
Cost of one sweet =20 p
⇒ C.P. of 120 sweets (in ₹) =₹ 120×20100
=₹ 24
Step 2: Find S.P. of sweets sold
Given: Number of sweets consumed =18
⇒ Number of sweets sold =120-18
=102
⇒ S.P. of 102 sweets (in ₹) =₹102×30100
=3060100
=₹ 30.60
Step 3: Find the profit/loss as percent
Since S.P. > C.P.
∴ Profit (in ₹) = S.P. – C.P.
=₹ 30.60-₹ 24
=₹ 6.60
Profit percent =GainC.P.×100
=6.6024×100
=66024
=552
=27.5
Hence, the profit as a percent is 27.5%.