The task fails for not meeting the following requirements, any help is appreciated
1. The program should display the number of positive numbers in the original set.
2. If there are no positive numbers, the program should display "Number of positive numbers: 0".
3. Note that 0 is not a positive or negative number.

package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
import java.util.Arrays;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner in=new Scanner (System.in);
//int num = in.nextInt();
int size[]=new int[3];
//System.out.println(num);
for (int i = 0; i < size.length; i++){
size[i] = in.nextInt();
//System.out.println(size[i]);
}
int negative = 0;
for (int i = 0; i < size.length; i++){
if(size[i] < 0){
negative = negative + 1;
}
}
System.out.println("Number of negative numbers: " + negative);
int positive= 0;
for (int i = 0; i < size.length; i++){
if(size[i] > 0){
positive = positive + 1;
}
}
System.out.println("Number of postive numbers: " + positive);
}
}