用while 和for输出1-1000之间被5整除的整数 且每行输出3个
int count=0;
for(int i=1;i<=1000;i++){
if(i%5==0){
System.out.print(i+"\t");
count++;
}
if(count==3){
System.out.println();
count=0;
}
}while怎么写了老写不对
ART原艺美学
zzylove
__YXQ__
等风来吧
慕的地6079101
矛盾之问
yanrun
随时随地看视频慕课网APP