every time I run it, it gets the right outcome. but codegym seems to refuse that it works. Or maybe i've missed something. But I don't know what.
package de.codegym.task.task04.task0412;
/*
Positive und negative Zahlen
*/
import java.util.Scanner;
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String eingabe= sc.nextLine();
int zahl = Integer.parseInt(eingabe);
if (zahl>0){
zahl=zahl*2;
System.out.println(zahl);
}if (zahl <0){
zahl++;
System.out.println(zahl);
}if(zahl==0) {
System.out.println("0");
}
}
}