Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started