write a program to store and number calculate and display the sum of the even digit
Answers
Answered by
0
Explanation:
Given a number N, the task is to find the sum of digits of a number at even and odd places.
Examples:
Input: N = 54873
Output:
Sum odd = 16
Sum even = 11
Input: N = 457892
Output:
Sum odd = 20
Sum even = 15
Similar questions