Files
SAE11_2024/pion.c
2024-11-05 13:59:19 +01:00

28 lines
331 B
C

#include <stdio.h>
void afficherPion(int x, int y);
int main() {
int x = 1;
int y = 3;
afficherPion(x, y);
return 0;
}
void afficherPion(int x, int y) {
int i;
for (i = 0; i < y; i++) {
printf("\n");
}
for (i = 0; i < x; i++) {
printf(" ");
}
printf("O\n");
}