Все выводит. Но не все условия соблюдены.
package com.javarush.task.task04.task0429;
/*
Положительные и отрицательные числа
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader nomer = new BufferedReader (new InputStreamReader(System.in));
int a = Integer.parseInt(nomer.readLine());
int b = Integer.parseInt(nomer.readLine());
int c = Integer.parseInt(nomer.readLine());
int i=0;
if (a>0)i++;
if (b>0)i++;
if (c>0)i++;
System.out.println("количество положительных чисел: "+i);
int x=0;
if (a<0)x++;
if (b<0)x++;
if (c<0)x++;
System.out.println("количество отрицательных чисел:"+x);
}
}