fork(1) download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a,b ;
  5.  
  6. for ( a=2; a<=1000; a=b){
  7. b=3*a-2;
  8. if (b>=100&&b<=1000)
  9. printf("%d\n",b);
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
244
730