62,625
社区成员
发帖
与我相关
我的任务
分享 do
{
x=(int)(Math.random()*10);
y=(int)(Math.random()*10+1);
}while(x%y!=0);
System.out.println(x);
System.out.println(y); do
{
x=(int)(Math.random()*10);
y=(int)(Math.random()*10+1);
}while(x%y!=0 && x<y);
System.out.println(x);
System.out.println(y);