fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int n = 2;
  6. while (n <= 21) {
  7. printf("%d", n);
  8. n=n*3;
  9. }
  10. }
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
2618