BUT2/DEV/DEV1.1/TP_Boucles/q1.c
2023-10-23 13:23:36 +02:00

19 lines
314 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void) {
int reel1;
int reel2;
printf("Saisissez un premier réel : ");
scanf("%d", &reel1);
printf("Saisissez un second réel : ");
scanf("%d", &reel2);
while (reel1<=reel2){
printf("%d\n", reel1);
reel1 += 1;
}
return EXIT_SUCCESS;
}