what is the greatest 6 - digit number when divided by 8 , 9 , and 10 leaves a remainder of 6 , 7 , and 8 respectively ?
when you divide a positive integer by 10 , the remainder will just be the units digit . we know the remainder is 8 when we divide by 10 , so b is the only possible answer .
subtract(subtract(multiply(const_1000, const_1000), const_1), multiply(multiply(lcm(lcm(8, 9), lcm(10, 9)), lcm(10, 9)), 10))