how many 3 digit numbers are completely divisible 6 ?
"explanation : 100 / 6 = 16 , remainder = 4 . hence 2 more should be added to 100 to get the minimum 3 digit number divisible by 6 . = > minimum 3 digit number divisible by 6 = 100 + 2 = 102 999 / 6 = 166 , remainder = 3 . hence 3 should be decreased from 999 to get the maximum 3 digit number divisible by 6 . = > maximum 3 digit number divisible by 6 = 999 - 3 = 996 hence , the 3 digit numbers divisible by 6 are 102 , 108 , 114 , . . . 996 this is arithmetic progression with a = 102 , d = 6 , l = 996 number of terms = ( l − a ) / d + 1 = ( 996 − 102 ) / 6 + 1 = 894 / 6 + 1 = 149 + 1 = 150 . answer : option c"
add(subtract(subtract(const_1000, const_10), multiply(multiply(const_10, multiply(3, 3)), multiply(const_4, const_2))), const_10)