You can put any number there, it not gona count the 0.
and the main variables declared as 0, so in case there is no positive its going to print 0 and the same for negative.
BUT still not passing these requirements...
package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int m = 0;
int n = 0;
if (a > 0) m++;
else if (a < 0) n++;
if (b > 0) m++;
else if (b < 0) n++;
if (c > 0) m++;
else if (c < 0) n++;
System.out.println("Number of negative numbers: " + n);
System.out.println("Number of positibe numbers: " + m);
//write your code here
}
}