fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int i,X,a;
  5. scanf("%d",&X);
  6. for(i=0; i<11; i++)
  7. {
  8. a:
  9. if(X%2!=0)
  10. {
  11. printf("%d\n",X);
  12. i++;
  13. X++;
  14. }
  15. else
  16. {
  17. X++;
  18. goto a;
  19. }
  20.  
  21. }
  22. return 0;
  23. }
Success #stdin #stdout 0s 4292KB
stdin
Standard input is empty
stdout
22019
22021
22023
22025
22027
22029