/*
*作者:舒隆梅
*日期:2016-4-8
*功能:判断两个数是否能够整除
*/
public class yunsuanfu {


public static void main(String[] args) {
int a=1;
int b=2;
if(b%a==0)
{
System.out.print("可以整除");
}
else
{
System.out.println("不能整除");
}

}

}

posted on 2016-04-08 21:18  颖珂烨S  阅读(4593)  评论(0)    收藏  举报