there are some people in party , 1 / 3 rd left the party . then 2 / 5 th of the remaining left the party , then 2 / 3 rd of the remaining left the party . at last 6 were remaining . how many people were in total ?
sol : 45 if x persons were there in total , then x × ( 1 – 1 / 3 ) × ( 1 – 2 / 5 ) × ( 1 – 2 / 3 ) = 6 x × 2 / 3 × 3 / 5 × 1 / 3 = 6 x = 6 × 5 × 3 / 2 = 45 answer : a
divide(6, multiply(multiply(subtract(const_1, divide(1, 3)), subtract(const_1, divide(2, 5))), subtract(const_1, divide(2, 3))))