3 candidates contested an election and received 1000, 2000 and 4000 votes respectively. what percentage of the total votes did the winning candidate got?  Choose the correct choice from the following options
A) 30 %  B) 50 %  C) 57 %  D) 62 %  E) 75 %
<gadget id="calculator">1_000 + 2_000</gadget>
<output>3_000</output>

<gadget id="calculator">3_000 + 4_000</gadget>
<output>7_000</output>

<gadget id="calculator">4_000 / 7_000</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">(4/7) * 100</gadget>
<output>400/7 = around 57.142857</output>

<result>C</result>
3 candidates contested an election and received 1000, 2000 and 4000 votes respectively. what percentage of the total votes did the winning candidate got?
multiply(divide(4000, add(add(1000, 2000), 4000)), const_100)
total number of votes polled = ( 1000 + 2000 + 4000 ) = 7000 required percentage = 4000 / 7000 * 100 = 57 % ( approximately ) answer : option c