News

For example, if an integer is 932, the * sum of all its digits is 14. * * Hint: Use the % operator to extract digits, and use the / operator to remove the * extracted digit.
The sum of digits in 53, 23, 57, 123 and 457 are 8, 5, 12, 6 and 16 respectively. The integers 8, 12 and 16 are present in the second line. So their corresponding integer values 53, 57 and 457 are ...