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
Accountancy,
5 months ago
Math,
5 months ago
Social Sciences,
5 months ago
English,
10 months ago
Geography,
10 months ago
Math,
1 year ago
English,
1 year ago