A dealer sold two types of goods for 10,000 each. On one of them, he lost 20% and on the other he gained 20%. His gain or loss per cent in the entire transaction was
A. 2%loss
B. 2%gain
C. 4%gain
D. 4%loss