c-course/c-basic/while_example_01.c

13 lines
116 B
C

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