Oddly even
Problem statement
Given a maximum of 100 digit number as input, find the difference between the sum of odd
and even position digits write program in c
Answers
Answered by
0
hello!
_____
Input:
N = 54873
Output:
Sum odd = 16
Sum even = 11
Input:
N = 457892
Output:
Sum odd = 20
Sum even = 15
Similar questions