package de.codegym.task.task04.task0426; /* Etiketten und Zahlen */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String zahls = reader.readLine(); int zahl1 = Integer.parseInt(zahls); if(zahl1 > 0 && ((zahl1 % 2) ==0)){ System.out.print("Positive gerade Zahl"); else if(zahl1 > 0 && ((zahl1 % 2) != 0)){ //Line 18 System.out.print("Positive ungerade Zahl"); } else if(zahl1 == 0){ System.out.print("Null"); } else if(zahl1 < 0 && ((zahl1 % 2) == 0)){ System.out.print("Negative gerade Zahl"); } else{ System.out.print("Negative ungerade Zahl"); } } }