Computer Science, asked by prinakghosh, 9 months ago

Accept any number. Fnd the sum of even digits present in the number and product of odd digits present in the number.

Answers

Answered by anuragsingh12sep
1

Answer:

Input: N = 54873

Output:

Sum odd = 16

Sum even = 11

Input: N = 457892

Output:

Sum odd = 20

Sum even = 15

Answered by anibratains
0

Answer:

Input: N = 54873.

Output: Sum odd = 16. Sum even = 11.

Input: N = 457892.

Output: Sum odd = 20. Sum even = 15.

Explanation:

Hope this answer will help you.

Similar questions