c-course/c-basic/while_example_02.c

14 lines
117 B
C

#include <stdio.h>
int main(void)
{
int i = 10;
while (i) {
printf("%d\n", i);
--i;
}
return 0;
}