for each of her sales , a saleswoman receives a commission equal to 20 percent of the first $ 500 of the total amount of the sale , plus 45 percent of the total amount in excess of $ 500 . if the total amount of one of her sales was $ 800 , the saleswoman ’ s commission was approximately what percent of the total amount of the sale ?
total sales = 800 comission = ( 20 / 100 ) * 500 + ( 45 / 100 ) * 300 = 100 + 135 = 235 % comission = ( 235 / 800 ) * 100 = 29.4 ~ 29 % answer is d
multiply(divide(add(multiply(divide(20, const_100), 500), multiply(divide(45, const_100), subtract(800, 500))), 800), const_100)