a man goes to shopkeeper and says that if u give me as much as i have , i will spend rs . 10 / - on ur shop . shopkeeper agrees and man moves to another shopkeeper ans asked same . at 3 rd shop after all the transaction , he was left with no money . find the initial amount with the man
man has rs . x he leaves - 1 st shop wid rs . ( 2 x - 10 ) 2 nd shop wid rs . [ 2 ( 2 x - 10 ) - 10 ] 3 rd shop wid rs . { 2 [ 2 ( 2 x - 10 ) - 10 ] - 10 } = 0 ( since he has no money left ) so solving the eqn x = 8.75 answer : d
divide(add(divide(add(divide(10, const_2), 10), const_2), 10), const_2)