fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int count=1;
  5. while(count<=10)
  6. {
  7. printf("%d\n",count);
  8. count=count+1;
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5532KB
stdin
4
stdout
1
2
3
4
5
6
7
8
9
10