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