#includeint f(int a) { int r=0; if ( a%3==0 ) r=1; return r; }void main() { int i; for ( i=100;i<=1000;i++ ) if ( f(i) ) printf("%d ",i); printf("\n");}