17 lines
295 B
C
17 lines
295 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main () {
|
||
|
int max = 5;
|
||
|
|
||
|
int i ;
|
||
|
|
||
|
for (i =1 ; i<= max ; i++) {
|
||
|
printf("%d \n",i);
|
||
|
}
|
||
|
/********************************/
|
||
|
/* valeur à la fin */
|
||
|
/********************************/
|
||
|
printf("après la boucle i vaut %d \n",i);
|
||
|
return 1;
|
||
|
}
|