Programmation Avancée en C


dec2.c

00001 #include <stdio.h>
00002 
00003 int main()
00004 {
00005     int i, n;
00006     printf("n = ");  scanf("%d", &n);
00007     i = n;
00008     while (i >= 0) { 
00009         printf("%d\n",i);
00010         i--;
00011     }
00012     return 0;
00013 }