Write a program to input an integer 'n' and print the sum of all its even digits and the sum of all its odd digits separately. Digits mean numbers, not places! That is, if the given integer is "132456 ...
/*Two numbers M and N are passed as the input. The program must print the sum of odd numbers from M to N (inclusive of M and N).