public class Grundlagen { public static void main(String[] args) { System.out.println("Hello World"); int x = 99; int y = 2; x = x + 1; x = x + y; System.out.println(x); char myA = 'a'; if (x > 101) { System.out.println("Der Wert ist grösser als 101"); } else { System.out.println("Der Wert ist kleiner als 101"); } int anzahlDurchgaenge = 1; while(anzahlDurchgaenge <= 5) { System.out.println("Durchgang nr. " + anzahlDurchgaenge); anzahlDurchgaenge = anzahlDurchgaenge + 1; } } }