Question: NB : write in java write a program that computes the positive and negative sums of a set of MAXNUMS user-entered numbers. Include in your

NB : write in java

write a program that computes the positive and negative sums of a set of MAXNUMS user-entered numbers. Include in your solution and display, the average of the positive and negative numbers (hint: Be careful not to count the number 0 as a negative number.) Test your program by entering the numbers 17, -10, 19, 0, and -4. The positive average your program displays should be 18, and the negative average should be -7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!