what is the sum of the digits of integer k , if k = ( 10 ^ 40 - 46 )
"there are 41 digits in 10 ^ 4 when we subtract 46 from it , there will be 40 digits left . 10 ^ 4 can be written as 9999999 . . . . ( 40 times ) + 1 so , 10 ^ 40 - 46 = 9999999 . . . . ( 40 times ) + 1 - 46 = 9999999 . . . . ( 40 times ) - 45 consider the last 2 digits , 99 - 45 = 54 the last 2 digits will be 54 . and our number would be 99999 . . . . . . 99954 with 2 less 9 s after subtraction . number of 9 s left are 38 and the last two digits are 54 the sum of the digits will be ( 38 * 9 ) + 5 + 4 = 351 answer : - a"
add(multiply(subtract(10, const_1), subtract(40, const_2)), 10)