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
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