DEV/DEV1.1/TP14/phases.c
2022-12-14 15:29:55 +01:00

17 lines
236 B
C

#include <stdio.h>
#include <stdlib.h>
void exemple(unsigned n) {
if (n != 0) {
putchar('>');
exemple(n-1);
putchar('<');
} else
putchar('O');
}
int main(int argc, char const *argv[])
{
exemple(5);
return 0;
}