fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // int n;
  5. // printf("Enter the number: ");
  6. // scanf("%d",&n);
  7. for(int i=1;i%2==0;i=i+1)
  8. printf("%d\n",i);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5300KB
stdin
5
stdout
Standard output is empty