Computer Science, asked by renukumarijsr1981, 2 months ago

write a program in java to input values from user till the time an even number not entered and then find the sum of all odd values​

Answers

Answered by komal3236
0

Answer:

Input: N = 54873

Output:

Sum odd = 16

Sum even = 11

Input: N = 457892

Output:

Sum odd = 20

Sum even = 15

Explanation:

Hope it helps

Similar questions