John sold 100 shares of stock for $96 per share. For half his shares, this represented a 20% profit; for the other half, this represented a 20% loss. What was the net gain or net loss on this sale of stock?
Choose the correct choice:
A) No loss or gain
B) Gain of $400
C) Loss of $400
D) Gain of $800
E) Loss of $800
Cost of the profitable stock: x=96/1.2= 
<gadget id="calculator">96/1.2</gadget>
<output>80</output>
80, so profit from it  96-80= 
<gadget id="calculator"> 96-80</gadget>
<output>16</output>
16. Total profit   50*16= 
<gadget id="calculator">  50*16</gadget>
<output>800</output>
800   Cost of the non-profitable stock: y=96/0.8= 
<gadget id="calculator">96/0.8</gadget>
<output>120</output>
120, so loss from it 96-120=-24. Total loss 50*(-24)=-1200   Total loss: 800+(-1200)=-400.   Answer: Loss of $400.
<result>C</result>
John sold 100 shares of stock for $96 per share. For half his shares, this represented a 20% profit; for the other half, this represented a 20% loss. What was the net gain or net loss on this sale of stock?