dhoni spent 40 percent of his earning last month on rent and 20 percent less than what he spent on rent to purchase a new dishwasher . what percent of last month ' s earning did dhoni have left over ?
"say dhoni ' s earning last month was $ 100 . dhoni spent 40 percent of his earning last month on rent - - > $ 40 on rent ; 20 percent less than what he spent on rent to purchase a new dishwasher - - > $ 40 * 0.8 = $ 32 on the dishwasher . left over amount 100 - ( 40 + 32 ) = $ 28 answer : b"
subtract(const_100, add(40, multiply(40, subtract(const_1, divide(20, const_100)))))