on a certain island , 5 % of the 10000 inhabitants are one - legged and half of the others go barefooted . what is the least number of shoes needed in the island ?
explanation : = > one - legged = 5 % of 10000 = 500 = > remaining = 10000 - 500 = 9500 = > barefooted = 9500 / 2 = 4750 = > remaining people = 9500 - 4750 = 4750 = > hence required number of shoes = 4750 * 2 + 500 * 1 = 10000 hence ( b ) is the correct answer . answer : b
add(multiply(divide(subtract(10000, multiply(divide(5, const_100), 10000)), const_2), const_2), multiply(multiply(divide(5, const_100), 10000), const_1))