in a competitive examination in a state a , 10 % candidates got selected from the total appeared candidates . state b had an equal number of candidates appeared and 12 % candidates got selected with 100 more candidates got selected than a . what was the number of candidates appeared from each state ?
"let the number of candidates appeared be x then , 12 % of x - 10 % of x = 100 2 % of x = 100 x = 100 * 100 / 2 = 5000 answer is b"
multiply(multiply(subtract(12, 10), const_100), 100)