diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-09-03 15:29:05 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-09-03 15:32:55 +0200 |
| commit | 822f9f2c6502da48dc3a4addcaa67295035def11 (patch) | |
| tree | a2fd53a9bc3091b8c9af50363a1b86463f3a85cb /Info/Rekursion | |
| parent | 851f9fb846a5ba72d272d1d6646979c57e0813a8 (diff) | |
| download | unterricht-822f9f2c6502da48dc3a4addcaa67295035def11.tar.gz unterricht-822f9f2c6502da48dc3a4addcaa67295035def11.zip | |
move recursion into 12 grade directory
Diffstat (limited to 'Info/Rekursion')
| -rw-r--r-- | Info/Rekursion/.gitignore | 1 | ||||
| -rw-r--r-- | Info/Rekursion/Makefile | 15 | ||||
| -rw-r--r-- | Info/Rekursion/Rekursion.java | 13 |
3 files changed, 0 insertions, 29 deletions
diff --git a/Info/Rekursion/.gitignore b/Info/Rekursion/.gitignore deleted file mode 100644 index 6b468b62..00000000 --- a/Info/Rekursion/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.class diff --git a/Info/Rekursion/Makefile b/Info/Rekursion/Makefile deleted file mode 100644 index e8269b45..00000000 --- a/Info/Rekursion/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -.PHONY: run all clean - -SRC := $(wildcard *.java) -OBJ := $(foreach src, $(SRC), $(subst .java,.class,$(src))) - -all: $(OBJ) - -run: all - @java Rekursion - -clean: - rm -f *.class - -%.class: %.java - javac $< diff --git a/Info/Rekursion/Rekursion.java b/Info/Rekursion/Rekursion.java deleted file mode 100644 index cbc1d6b5..00000000 --- a/Info/Rekursion/Rekursion.java +++ /dev/null @@ -1,13 +0,0 @@ -class Rekursion { - public static void main(String argv[]) { - get(0); - } - - public static void get(int x) { - if (x == 6) - System.out.println("Code:"); - if (x < 6) - get(x+=2); - System.out.println(x); - } -} |
