a salesman commission is 10 % on all sales upto $ 5000 and 5 % on all sales exceeding this . he remits $ 15000 to his parent company after deducting his commission . find the total sales ?
"let his total sales be x total sales - commission = $ 15000 x - [ ( 10 % of 5000 ) + 5 % of ( x - 5000 ) ] = 15000 95 x / 100 = 15000 x = 15789 approximately answer is c"
divide(add(15000, subtract(divide(multiply(10, 5000), const_100), divide(multiply(const_4.0, 5000), const_100))), subtract(const_1, divide(5, const_100)))