fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n=2;
  5. do{
  6. printf("%d",n);
  7. n=n+2;}
  8. while(n<=50);
  9.  
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
2468101214161820222426283032343638404244464850