以下程序输出 100-1000 之间所有符合以下条件的三位数:( 1 )能被 7 整除;( 2 ) 3 个数字中至少有 2 个 8 。请在请选择正确的答案填在横线处 , 使程序能正常运行 .
提示 : 满足上述条件的数是 : 588868882889
【程序】
class Exam24{
public static void main(String args[]){
int temp,count;
for(int i=100;i<1000;i++)
{
if( (9) )
{
count=0;
temp=i;
while( (10) )
{
if ( (11) ) count++;
temp=temp/10;
}
if( (12) )
System.out.println(i);
}
}
}
}