#include int main(void) { int i; printf("La boucle do while...\n"); i=0; /* boucle do while ascendante */ do { printf("%d\n",i); /* 0 => 9 */ i = i + 1; } while (i<=9); printf("Apres la boucle do while: %d\n",i); /* 10 */ i=9; /* boucle do while descendante */ do { printf("%d\n",i); /* 9 => 0 */ i = i - 1; } while (i>=0); printf("Apres la boucle do while: %d\n",i); /* -1 */ return 0; }