a farmer spent $ 33 on feed for chickens and goats . he spent 40 % money on chicken feed , which he bought at a 20 % discount off the full price , and spent the rest on goat feed , which he bought at full price . if the farmer had paid full price for both the chicken feed and the goat feed , what amount would he have spent on the chicken feed and goat feed combined ?
"a farmer spent 40 % money on chicken feed , so he spent 0.4 * $ 33 = $ 13.2 on chicken feed , thus he spent the remaining 33 - 13.2 = $ 19.8 on goat feed . now , since he bought chicken feed at a 20 % discount then the original price of it was x * 0.8 = $ 13.2 - - > x = $ 16.5 . therefore if the farmer had paid full price for both the chicken feed and the goat feed , then he would he have spent 16.5 + 19.8 = $ 36.3 . answer : a"
add(multiply(33, divide(40, const_100)), 33)