From 664a85c047843e6bb54ef650f71e8aed8e898931 Mon Sep 17 00:00:00 2001 From: Sage Burger Date: Wed, 16 Aug 2023 14:58:36 +0200 Subject: [PATCH] Grundlagen variablen(Buchstaben) & if --- bin/Grundlagen.class | Bin 621 -> 734 bytes src/Grundlagen.java | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/Grundlagen.class b/bin/Grundlagen.class index 334684ccdda5e55f2371b4323fc92c313cf81f79..30997c97fe7062dd7ea2bc78b368754fbfb23d42 100644 GIT binary patch delta 244 zcmaFMa*vhk)W2Q(7#J9A8FV*tc`zz*FeouH$hf2yDTJpMl_+EuE2I}4-d0=;6iCb| zRxmU$oE*fcEy0{y>Bz{y=*-B#8(fl@ob8)f5R#ablRCMYvD9ff0}}%a&`jM;3<5%8 z+ZZGSl5JRRTNoLoWfE+FV$$0fc`!~cVbq?yld;&ah=GZL87MBZi9tX}Y#W1wK(Y;s zZ3`o#v`m5xP)vFogWN`-JQD*Kkd$L!pPa`eZOFyI4df|6bTTM1C;@rg41x^G3@Qwa T47?2d45~mD6OgS2)~gNxE{hY? diff --git a/src/Grundlagen.java b/src/Grundlagen.java index d6aba6a..76120e3 100644 --- a/src/Grundlagen.java +++ b/src/Grundlagen.java @@ -3,9 +3,15 @@ public class Grundlagen { System.out.println("Hello World"); int x = 99; - int y = 1; + int y = 2; x = x + 1; x = x + y; System.out.println(x); + + char myA = 'a'; + + if (x > 101) { + System.out.println("Der Wert is grösser als 101"); + } } } \ No newline at end of file