in a certain city, 60 percent of the registered voters are democrats and the rest are republicans. in a mayoral race, if 75 percent of the registered voters who are democrats and 25 percent of the registered voters who are republicans are expected to vote for candidate a, what percent of the registered voters are expected to vote for candidate a? Choose the correct answer: A) 50 % B) 53 % C) 54 % D) 55 % E) 57 %
<gadget id="calculator">75 / 100</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">60 * (3/4)</gadget>
<output>45</output>

<gadget id="calculator">100 - 60</gadget>
<output>40</output>

<gadget id="calculator">25 / 100</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">40 * (1/4)</gadget>
<output>10</output>

<gadget id="calculator">45 + 10</gadget>
<output>55</output>

<result>D</result>
in a certain city, 60 percent of the registered voters are democrats and the rest are republicans. in a mayoral race, if 75 percent of the registered voters who are democrats and 25 percent of the registered voters who are republicans are expected to vote for candidate a, what percent of the registered voters are expected to vote for candidate a?
add(multiply(60, divide(75, const_100)), multiply(subtract(const_100, 60), divide(25, const_100)))
"say there are total of 100 registered voters in that city . thus 60 are democrats and 40 are republicans . 60 * 0.75 = 45 democrats are expected to vote for candidate a ; 40 * 0.25 = 10 republicans are expected to vote for candidate a . thus total of 45 + 10 = 55 registered voters are expected to vote for candidate a , which is 55 % of the total number of registered voters . answer : d ."