Answer:
<h3>THIS SERVER IS FOR THE PEOPLES WHO'S ON THE UNITED STATES ONLY . IF U WANT US TO ANSWER YOUR QUESTION TRANSLATE IT TO ENGLISH </h3>
Answer:
Explanation:
First we must import the package import java.util.*;
we create our scanner and we declare our variables and array
We create a for cycle, and inside the for the If sentence to evaluate every number then we print our negative and positive numbers.
numbers[10]
nega
posi
Scanner num = new Scanner(System.in);
int numbers[] = new int[10];
int nega = 0;
int posi = 0;
for(int i=0; i<=9; i++)
{
System.out.print("Enter the number "+ (i+1) +":");
numbers[i] = num.nextInt();
if(numbers[i]<0){
nega++;
}
else
{
posi++;
}
System.out.println("Negative numbers are: " + nega);
System.out.println("Positive numbers are: " + posi);
}