In an examination, 35% candidates failed in one subject and 42% failed in another subject while 15% failed in both the subjects. If 2500 candidates appeared at the end of the examination how many passed in either subject but not in both?  Choose the correct choice from the following options
A) 975
B) 1020
C) 1175
D) 1243
E) 1525
Failed in 1st subject = 35*2500/100= 
<gadget id="calculator">35*2500/100</gadget>
<output>875</output>
875   Failed in 2nd subject= 42*2500/100= 
<gadget id="calculator">42*2500/100</gadget>
<output>1_050</output>
1050   Failed in both= 15*2500/100= 
<gadget id="calculator">15*2500/100</gadget>
<output>375</output>
375   Failed in 1st subject only= 875-375= 
<gadget id="calculator">875-375</gadget>
<output>500</output>
500   Failed in 2nd subject only= 1050-375= 
<gadget id="calculator">1050-375</gadget>
<output>675</output>
675   Passed in either subject but not in both= 675+500= 
<gadget id="calculator">675+500</gadget>
<output>1_175</output>
1175   Answer is 1175
<result>C</result>
In an examination, 35% candidates failed in one subject and 42% failed in another subject while 15% failed in both the subjects. If 2500 candidates appeared at the end of the examination how many passed in either subject but not in both?