Write a program to display the sum of display the sum of positive even numbers and negative odd numbers from a list of numbers entered by the user. The list terminates when the user enters zero from the console.
(This program has to be done in java)
(Also, please screenshot and post the output of the program~)
(No spam, irrelevant and incomplete answers)
(The chapter name is "Iterative Constructs In Java")
Share
0 Replies