I was not able to resolve the 3rd and 5th requirement in my code 1. display the number of positive numbers and 2. 0 is neither negative or positive
package com.codegym.task.task04.task0428;
/*
Positive number
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String num1 = reader.readLine();
String num2 = reader.readLine();
String num3 = reader.readLine();
int N1 = Integer.parseInt(num1);
int N2 = Integer.parseInt(num2);
int N3 = Integer.parseInt(num3);
if(((N1>0)&&(N1!=0))&&((N2>0)&&(N2!=0))&&((N3>0)&&(N3!=0))){
System.out.println("3");
}
else if (((N1<0)&&(N1!=0))&&((N2>0)&&(N2!=0))&&((N3>0)&&(N3!=0))){
System.out.println("2");
}
else if (((N1<0)&&(N1!=0))&&((N2<0)&&(N2!=0))&&((N3>0)&&(N3!=0))){
System.out.println("1");
}
else if (((N1<0)&&(N1!=0))&&((N2<0)&&(N2!=0))&&((N3<0)&&(N3!=0))){
System.out.println("0");
}
}
}