Aufgaben
This commit is contained in:
9
Zimmermann, Sascha/PTP1/ProgIf.java
Normal file
9
Zimmermann, Sascha/PTP1/ProgIf.java
Normal file
@@ -0,0 +1,9 @@
|
||||
public class ProgIf {
|
||||
public static void main (String args[]) {
|
||||
int guthaben = 50000;
|
||||
System.out.println("Guthaben = " + guthaben);
|
||||
if ( guthaben >= 1000000 ) {
|
||||
System.out.println("Gratuliere, Du bist Millionaer!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user