BUT2/DEV/DEV1.1_suite/concept_en_vrac/Q2_clubs.c

24 lines
475 B
C
Raw Normal View History

2023-10-23 13:23:36 +02:00
#include <stdio.h>
#include <stdlib.h>
typedef enum wedge{PITCHING,GAP,SAND,LOB,FLIP}wedge;
typedef enum putter{REGULAR,BELLY,LONG}putter;
typedef struct categorie{
int bois;
int fer;
wedge wedge;
putter putter;
}categorie;
afficheCategorie(categorie categorie){
printf("\nbois : %d\n",categorie.bois);
printf("fer : %d\n",categorie.fer);
printf("wedge : %d\n",categorie.wedge);
printf("putter : %d\n\n",categorie.putter);
}
int main(void){
return 0;
}