Grundlagen variablen(Buchstaben) & if

This commit is contained in:
Sage Burger 2023-08-16 14:58:36 +02:00
parent 784ca4113f
commit 664a85c047
2 changed files with 7 additions and 1 deletions

Binary file not shown.

View file

@ -3,9 +3,15 @@ public class Grundlagen {
System.out.println("Hello World");
int x = 99;
int y = 1;
int y = 2;
x = x + 1;
x = x + y;
System.out.println(x);
char myA = 'a';
if (x > 101) {
System.out.println("Der Wert is grösser als 101");
}
}
}