Developpement/23DEV1.1/TPS1/TP01/07-Boucles/sequence3.c

14 lines
265 B
C
Raw Normal View History

2024-12-09 11:53:11 +01:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int x,y;
printf("choisissez un entier: ");
scanf("%d", &x);
printf("choisissez un second entier: ");
scanf("%d", &y);
for (x = x ; x<=y ; x++){
printf("%d\n",x);
}
return EXIT_SUCCESS;
}