Почему не проходит по последнему действию, ВСЁ перепробовал. Заранее сори, я дятел
package com.javarush.task.task04.task0412;
/*
Положительное и отрицательное число
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader pup = new BufferedReader(new InputStreamReader(System.in));
String bruh = pup.readLine();
int j = Integer.parseInt(bruh);
if (j < 0) {
int ja = j + 1;
System.out.println(ja);
} else {
int js = j * 2;
System.out.println(js);
}
if (j == 0) {
System.out.println(j);
}
}
}