http://student.csdn.net/mcd/topic/235300/753730?order=reply_count&page=1#anchor1
记事本敲的,有错误见谅
int a[100],i,s3,s5;
for(i=0;i<34;i++){
s3=i*3;
s5=i*5;
if(s5<=100){
printf(“%d #”,s5);
a[s5]=1;
}
if(s3<=100&&a[s3]!=1){
printf(“%d *”,s3);
}
}
http://student.csdn.net/mcd/topic/235300/753730?order=reply_count&page=1#anchor1
记事本敲的,有错误见谅
int a[100],i,s3,s5;
for(i=0;i<34;i++){
s3=i*3;
s5=i*5;
if(s5<=100){
printf(“%d #”,s5);
a[s5]=1;
}
if(s3<=100&&a[s3]!=1){
printf(“%d *”,s3);
}
}