int start = 1;
int max = 100;
//int number = 0;
for(int i = start;i{
if((i%3)==0)
{
printf("%d\n",i);
//++number;
}
}
//printf(" %d ~ %d 中能被3整除的数有%d个", start, max, number);
#include
main()
{
int i, s=0;
for(i=3; i<100; i+=3)
s+=i;
printf("%d\n",s);
}