摘要: /* *作者:舒隆梅 *日期:2016-4-8 *功能:判断两个数的大小 */import java.io.*;public class yunsuanfu { public static void main(String[] args) { try { //输入流,从键盘输入数 InputStre 阅读全文
posted @ 2016-04-08 21:59 颖珂烨S 阅读(269) 评论(0) 推荐(0)
摘要: int a=2; int b=a++; int c=++a; System.out.println(b); //输出的b值为2 System.out.println(c); //输出的c值为4 阅读全文
posted @ 2016-04-08 21:28 颖珂烨S 阅读(161) 评论(0) 推荐(0)
摘要: /* *作者:舒隆梅 *日期:2016-4-8 *功能:判断两个数是否能够整除 */public class yunsuanfu { public static void main(String[] args) { int a=1; int b=2; if(b%a==0) { System.out. 阅读全文
posted @ 2016-04-08 21:18 颖珂烨S 阅读(4593) 评论(0) 推荐(0)