23 lines
222 B
C
23 lines
222 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(void){
|
||
|
|
||
|
int n=4;
|
||
|
exemple(n);
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
|