why ?
package fr.codegym.task.task04.task0429;
/*
Nombres positifs et négatifs
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner input = new Scanner(System.in);
int a = input.nextInt();
int b = input.nextInt();
int c = input.nextInt();
int z = 0;
int x = 0 ;
if (a>0)
x++;
else
z++;
if (b>0)
x++;
else
z++;
if (b>0)
x++;
else
z++;
System.out.println("Nombre de nombres négatifs : "+z);
System.out.println("Nombre de nombres positifs : "+x);
}
}