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 30 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 ?
"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.30 = 12 republicans are expected to vote for candidate a . thus total of 45 + 12 = 57 registered voters are expected to vote for candidate a , which is 57 % of the total number of registered voters . answer : e ."
add(multiply(60, divide(75, const_100)), multiply(subtract(const_100, 60), divide(30, const_100)))