index — ti25-glauchau-code @ 41a8c7ab6002a0ed0e77b184dbdb2828edcdfb35

Meine Lösungen (oder auch nicht) für die Programmieraufgaben in der TI25 an der Staatlichen Studienakademie Glauchau

gpt/2025-10-14: teilbarkeit sehr minimal
crispy-caesus crispy@crispy-caesus.eu
Tue, 14 Oct 2025 15:10:09 +0200
commit

41a8c7ab6002a0ed0e77b184dbdb2828edcdfb35

parent

37cc1c9538a2d0ace14adc27fabc6539c25e8e9f

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); +}