@@ -0,0 +1,813 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        int x = scanner.nextInt();%0A        double y = scanner.nextDouble();%0A        int z = scanner.nextInt();%0A        int workers = scanner.nextInt();%0A%0A        int grapes = (int)(x * y);%0A        double wine = 0.4 * grapes / 2.5;%0A%0A        double remain = wine - z;%0A        if (wine %3E= z) %7B%0A            System.out.printf(%22Good harvest this year! Total wine: %25d liters.%5Cn%22, (int)wine);%0A            System.out.printf(%22%25.0f liters left -%3E %25.0f liters per person.%22, Math.ceil((remain)), Math.ceil(remain / workers));%0A        %7D%0A        else %7B%0A            System.out.printf(%22It will be a tough winter! More %25d liters wine needed.%22, (int)Math.floor(z - wine));%0A        %7D%0A    %7D%0A%7D%0A

Create 02.Harvest.java