write a program to accept a number and print the sum of even digits and product of all digits.
Answers
Answered by
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