gpt/2025-10-14: teilbarkeit sehr minimal
crispy-caesus crispy@crispy-caesus.eu
Tue, 14 Oct 2025 15:10:09 +0200
1 files changed,
13 insertions(+),
0 deletions(-)
jump to
A
gpt/2025-10-14/teilbarkeit.c
@@ -0,0 +1,13 @@
+#include <stdio.h> + +void two(int* input) { + if (*input % 2 != 0) { + printf("ungerade"); + } +} + +int main() { + int input; + scanf("%d", &input); + two(&input); +}