Question: Write code that reads in 7 numbers and that outputs the product of all numbers greater than or equal to zero and the product of

 Write code that reads in 7 numbers and that outputs the

Write code that reads in 7 numbers and that outputs the product of all numbers greater than or equal to zero and the product of all numbers less than zero. For example: Input Result -6 -2 -1-5 -8 5 7 Enter 7 integers Product of non-negatives = 35 Product of negatives -480 Answer: (penalty regime: 0,10,20,50, %) 1 Scanner scan new Scanner(System.in); 2 2 ITODO your code goes here

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!