Write a program to input an integer N and print the
sum of all its even digits and sum of all its odd digits
separately
Digits mean numbers, not the places! That is, if
the given integer is "13245", even digits are 2 & 4
and odd digits are 1. 3 & 5.
Input format:
Integer N
Answers
Answered by
3
..
.
.
Similar questions