backup
This commit is contained in:
28
3/SwitchT.~ava
Normal file
28
3/SwitchT.~ava
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user