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