Math, asked by jeetsroy, 1 month ago

Write a program to accept a number and display the sum of it's even digits and odd digits separately​

Answers

Answered by ssbgaming841gmailcom
1

Answer:

input-54837

output:

sum odd-16

sum even-11

input n-457892

output

sum even-15

sum odd -20

Similar questions