Transférer les fichiers vers 'TP3'
This commit is contained in:
parent
dad45c24e0
commit
d58e3a5914
|
@ -0,0 +1,17 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main () {
|
||||
int max = 5;
|
||||
|
||||
int i = 1;
|
||||
|
||||
while ( i <= max) {
|
||||
printf("%d \n",i);
|
||||
i = i + 1 ;
|
||||
}
|
||||
/********************************/
|
||||
/* valeur à la fin */
|
||||
/********************************/
|
||||
printf("après la boucle i vaut %d \n",i);
|
||||
return 1;
|
||||
}
|
Loading…
Reference in New Issue