#包括
//找出能被3整除且至少有壹個數字為5的三位數。
(同Internationalorganizations)國際組織
主()
{
(同Internationalorganizations)國際組織
甲、乙、丙;
(同Internationalorganizations)國際組織
I,n = 0;
for(I = 100;我& lt=999;i++)
如果((i%3==0))
{
a = I/100;
//百位數
b =(I-a * 100)/10;
//十位數
c =(I-a * 100-b * 10);//壹位數
如果(a==5||b==5||c==5)
{
如果(n%10
==0)
printf(" \ n ");
n++;
printf("%d
“,我);
}
}
printf("\n
位數=%d”,n);
返回
0;
}