Question: Create a java program that asks for 10 integer numbers. The program then counts how many odd, how many even, how many negative, how

Create a java program that asks for 10 integer numbers. The program then counts how many odd, how many even, how many negative, how many positive, and how many zero numbers. note: you need to use loops (you may choose whether for, while, or do while) Sample output: Input 10 integer numbers. Input number 1:0 Input number 2: -1 Input number 3: 20 Input number 4: -4 Input number 5: 0 Input number 6: 14 Input number 7: 7 Input number 8: 71 Input number 9: 16 Input number 10: -7 Total Even numbers: 4 Total Odd numbers: 4
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
Here is the Java code with the comments to explain the code impo... View full answer
Get step-by-step solutions from verified subject matter experts
