Computer Science, asked by Destroyer1151, 10 months ago

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 RAthi21
0

hello!

_____

Input:

N = 54873

Output:

Sum odd = 16

Sum even = 11

Input:

N = 457892

Output:

Sum odd = 20

Sum even = 15

Similar questions