package workshop.tag3;

public class Gruppe7 {

    public static void main(String[] args) {
        int kontostand = 80000;

        // BEDINGUNG ? Fall true : Fall false;

        System.out.println("Ihr Konto steht in " + (kontostand >= 0 ? "Haben" : "Soll"));
        boolean kannAutoKaufen = (kontostand > 10000) ? true : false; // Schema:   (BEDINGUNG ? Code_wenn_wahr : Code_wenn_falsch);
        if (kannAutoKaufen == true) {
            System.out.println("Sie können sich ein Auto kaufen");
        }


        int zahl = 5;
        System.out.println("Zahl ist " + (zahl < 0 ? "kleiner 0" : "größer gleich 0"));

        if(zahl < 0) {
            // ?
        } else {
            // :
        }
    }

}
