Computer Science, asked by hasini5365, 4 months ago

write a program to accept a number and print the sum of even digits and product of all digits.​

Answers

Answered by agrim9928
0

Answer:

MARK ME AS BRAIN LIST PLEASE IF IT IS CORRECT!!!

Explanation:

Input: N = 54873  

Output:  

Sum odd = 16  

Sum even = 11

Input: N = 457892  

Output:  

Sum odd = 20  

Sum even = 15

Similar questions