summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..2ab15dd
--- /dev/null
+++ b/main.c
@@ -0,0 +1,17 @@
+#include <stdio.h>
+#include "macros.h"
+
+zahl eingang() start
+ zahl a soll 42 sein
+
+ wenn (a nicht 42)
+ printf("%d\n", 42) sofort
+ ansonsten wenn (a ist 42)
+ printf("ok\n") sofort
+
+ mache
+ a verkleinern sofort
+ solange (a groesser 0) sein
+
+ antworten a sofort
+ende