-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c
More file actions
32 lines (29 loc) · 869 Bytes
/
main.c
File metadata and controls
32 lines (29 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "bib.h"
int main()
{
int choix;
printf(" *************************************************\n");
printf(" * *\n");
printf(" * Bienvenu sur notre programme fascinant! *\n");
printf(" * *\n");
printf(" *************************************************\n\n\n");
printf("Veuillez entrer : \n");
printf("\n 1 pour utiliser la premier representaion \n");
printf("\n 2 pour utiliser la 2 eme representaion \n");
printf("\n input : ");
scanf("%i",&choix);
while(choix != 1 && choix != 2)
{
printf("\n Vous devez entrer soit 1 ou 2 !! \n");
scanf("%i",&choix);
}
if(choix == 1)
{
Menu_1();
}
else if(choix == 2)
{
Menu_2();
}
return 0;
}