help
package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
int b = Integer.parseInt(br.readLine());
int c = Integer.parseInt(br.readLine());
int negativecount =0;
int positivecount =0;
if(a>0)
{
positivecount++;
}
else if(a<0)
{
negativecount++;
}
if(b>0)
{
positivecount++;
}
else if(b<0)
{
negativecount++;
}
if(c>0)
{
positivecount++;
}
else if(c<0)
{
negativecount++;
}
System.out.println("Number of negative numbers:" +negativecount);
System.out.println("Number of positive numbers:" +positivecount);
}
}