commit 587d1c2d8bb6dd3337a4dc346f9a5023b5d60ce0 Author: Matti Date: Tue Apr 23 10:22:10 2024 +0200 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f68d109 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/S2_Aufgaben.iml b/S2_Aufgaben.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/S2_Aufgaben.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/Main.java b/src/Main.java new file mode 100644 index 0000000..148a9e8 --- /dev/null +++ b/src/Main.java @@ -0,0 +1,17 @@ +// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`, +// then press Enter. You can now see whitespace characters in your code. +public class Main { + public static void main(String[] args) { + // Press Alt+Eingabe with your caret at the highlighted text to see how + // IntelliJ IDEA suggests fixing it. + System.out.printf("Hello and welcome!"); + + // Press Umschalt+F10 or click the green arrow button in the gutter to run the code. + for (int i = 1; i <= 5; i++) { + + // Press Umschalt+F9 to start debugging your code. We have set one breakpoint + // for you, but you can always add more by pressing Strg+F8. + System.out.println("i = " + i); + } + } +} \ No newline at end of file