fork download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int n,i;
  5. while(0<n && 11>n)
  6. {
  7. scanf("%d",&n);
  8. }
  9. for(i=n;i<11;i++)
  10. {
  11. printf("%d ",i);
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5292KB
stdin
11
0
5
stdout
Standard output is empty