BUT2/DEV/DEV1.1/TP_Fonctions/q1.c~

23 lines
413 B
C
Raw Permalink Normal View History

2023-10-23 13:23:36 +02:00
#include<stdio.h>
#include<stdlib.h>
void triangle(void){
}
int maid(void){
char choix;
char poubelle;
while (choix!='q'){
printf("t) Triangle\n");
printf("c) Carré\n");
printf("q) Quitter\n");
printf("Votre choix ? ");
choix = getchar();
for (poubelle=choix;poubelle=!'\xa'){
poubelle = getchar();
}
printf("\n");
if (choix=='t'){}
if (choix=='c'){}
}
}