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

28
3/SwitchT.~ava Normal file
View File

@@ -0,0 +1,28 @@
public class SwitchT {
public static void main(String args[]) {
int zahl = 1;
switch (zahl) {
case 1:
System.out.println("Sehr gut");
break;
case 2:
System.out.println("Gut");
break;
case 3:
System.out.println("Befreidigend");
break;
case 4:
System.out.println("Ausreichend");
break;
case 5:
System.out.println("Mangelhaft");
break;
case 6:
System.out.println("Ungenügend");
break;
default:
System.out.println("Keine Note");
} // end of switch
}
}