This commit is contained in:
Mykola Fesenko
2025-07-29 08:08:23 +02:00
commit 899a05907b
355 changed files with 11002 additions and 0 deletions

12
3/Alter.java Normal file
View File

@@ -0,0 +1,12 @@
public class Alter{
public static void main(String args[]) {
int alter = 40;
if(alter < 50){
System.out.println("Die Rente ist in Sicht");
} else if (alter < 40){
System.out.println("Genau richtig :-)");
} else if (alter < 30){
System.out.println("Du bist aber noch jung!"); // falsche Reihenfolge
}
}
}