This commit is contained in:
Joaquin Gottlebe
2025-07-30 15:57:48 +02:00
parent e49fcfac46
commit a639c34cee
273 changed files with 20151 additions and 0 deletions
@@ -0,0 +1,26 @@
#include <stdio.h>
void decr(int n);
void rec_out(int n);
void decr(int n)
{
rec_out(--n);
}
void rec_out(int n)
{
static int count = 1;
printf("Die %d. Ausgabe.\n", count);
count++;
if (n > 1)
{
decr(n);
}
}
int main()
{
rec_out(6);
return 0;
}