i have no idea why my code doesn't work so a little bit of help would be nice and appreciated.
package com.codegym.task.task04.task0428;
/*
Positive number
*/
import java.util.Scanner;
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 count = 0;
if (a > 0 ){
count++;
} else if (b > 0 ) {
count++;
} else if (c > 0 ){
count++;
}
System.out.print(count);
}
}