Что не так??? выводит верно..
package com.javarush.task.task04.task0428;
import java.io.*;
/*
Положительное число
*/
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());
if(a > 0 && b > 0 && c > 0) System.out.println(3);
if(a <= 0 && b <= 0 && c <= 0)System.out.println(0);
if(a > 0){
if((b <= 0 && c > 0) || (c <= 0 && b > 0)) System.out.println(2);
else
System.out.println(1);}
else{
if(b > 0 && c > 0) System.out.println(2);
if((b > 0 && c<= 0) || (c > 0 && b <= 0))System.out.println(1);//напишите тут ваш код
}
}
}