15 lines
278 B
C
15 lines
278 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
int main(void){
|
|
int val1;
|
|
int val2;
|
|
printf("Choisir la valeur 1");
|
|
scanf("%d", & val1);
|
|
printf("Choisir la valeur 2");
|
|
scanf("%d", & val2);
|
|
int i;
|
|
for(i = val1; i< val2+1; i = i+1){
|
|
printf("%d\n", i);
|
|
}
|
|
return EXIT_SUCCESS;
|
|
} |