Transférer les fichiers vers 'TP3'

This commit is contained in:
Jose-maria FULLANA 2021-10-06 20:32:29 +02:00
parent f7d6bc0405
commit dad45c24e0
1 changed files with 16 additions and 0 deletions

16
TP3/for.c Normal file
View File

@ -0,0 +1,16 @@
#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;
}