что сделать чтобы заработала?
package com.javarush.task.task04.task0429;
/*
Положительные и отрицательные числа
*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Solution {
public static int pozitiv (int a, int b, int c){
if (a > 0 && b > 0 && c > 0)
return 3;
else if (a > 0 && b > 0 && c <= 0 || a > 0 && c > 0 && b <= 0 || a <= 0 && b > 0 && c > 0)
return 2;
else if (a > 0 || b > 0 || c > 0)
return 1;
else if (a <= 0 && b <= 0 && c <= 0)
return 0;
}
public static int negativ (int a, int b, int c){
if (a < 0 && b < 0 && c < 0)
return 3;
else if (a < 0 && b < 0 && c >= 0 || a < 0 && c < 0 && b >= 0 || a >= 0 && b < 0 && c < 0)
return 2;
else if (a < 0 || b < 0 || c < 0)
return 1;
else if (a >= 0 && b >= 0 && c >= 0)
return 0;
}
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());
System.out.println("количество отрицательных чисел: " + negativ(a, b, c));
System.out.println("количество положительных чисел: " + pozitiv(a, b, c));
}
}