the profits of qrs company rose 50 % from march to april , then dropped 20 % from april to may , then rose 50 % from may to june . what was the percent increase for the whole quarter , from march to june ?
"assume 100 in march , then 150 in april as 50 % increase , then 120 in may as 20 % decrease from april , and then 180 in june which is 150 % of 120 . so overall increase is from 100 to 180 is 80 % answer e"
multiply(const_100, subtract(multiply(add(const_1, divide(50, const_100)), multiply(add(const_1, divide(50, const_100)), subtract(const_1, divide(20, const_100)))), const_1))