1. Считала 4 числа
2. Вывела 1 и 3, так как в условии указано те что больше нуля (не включительно)
пишет ошибку, невыполненные все условие, а именно 2е...
package com.javarush.task.pro.task03.task0317;
import java.util.Scanner;
/*
Пищевой конвеер
*/
public class Solution {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int one = console.nextInt();
int two = console.nextInt();
int three = console.nextInt();
int four = console.nextInt();
int a = 1;
if (a > 0){
System.out.println(a);
}
int b = -2;
if (b > 0){
System.out.println(b);
}
int c = 3;
if (c > 0){
System.out.println(c);
}
int d = 0;
if (d > 0){
System.out.println(d);
}
}
}