.vscode
DEV IHM
DEV1.1
TD
TP01
TP02
TP03
TP04
TP05
borne.c
devinette.c
diviseur.c
division.c
fibbo.c
figures.c
grandetable.c
primarite.c
sapin.c
table.c
tables2.c
TP06
TP07
TP08
TP09
TP10
TP11
TP12
TP13
TP14
TP15
random
DEV2.1
DEV2.3
DEV3.1
DEV3.2
DEV4.1
Junit4Exemples
WEBBE
.gitignore
Gantt.gan
README.md
projet.jar
22 lines
325 B
C
22 lines
325 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main(void){
|
||
|
int x = 0;
|
||
|
int y = 0;
|
||
|
int i;
|
||
|
printf("Rentrer un entier: ");
|
||
|
scanf("%d",&x);
|
||
|
y = x;
|
||
|
while(x!=(-1)){
|
||
|
if(x<y){
|
||
|
y=x;
|
||
|
}
|
||
|
printf("Rentrer un entier sur lequel baser la table (-1 pour arretez): ");
|
||
|
scanf("%d",&x);
|
||
|
}
|
||
|
|
||
|
printf("%d",y);
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|