fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. for (int i = 2, j =5; j > 0; i*=2, j--)
  6. {
  7. printf("%d %d\n", i, j);
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
2 5
4 4
8 3
16 2
32 1