what is the greatest 6 - digit number when divided by 6 , 7 , 8 , 9 , and 10 leaves a remainder of 4 , 5 , 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 d is the only possible answer .
divide(multiply(const_1000, const_1000), 10)