摘要:
/*import java.util.Random;public class Stochastic{ //求随机数 public static void main(String[] args){ Random XX=new Random(); int number=XX.nextInt(100);... 阅读全文
posted @ 2014-07-05 23:54
穿越地平线
阅读(115)
评论(0)
推荐(0)
摘要:
import java.util.*;public class LeapYear{//求闰年 public static void main(String[] args){Scanner in=new Scanner(System.in);System.out.println("请输入年份");in... 阅读全文
posted @ 2014-07-05 23:53
穿越地平线
阅读(212)
评论(0)
推荐(0)
摘要:
import java.util.*;public class MultipleIf{//多重ifpublic static void main(String[] args){Scanner in=new Scanner(System.in);System.out.println("请输入你成绩:"... 阅读全文
posted @ 2014-07-05 23:51
穿越地平线
阅读(203)
评论(0)
推荐(0)
摘要:
import java.util.*;public class Branch{//switch多分支结构 public static void main(String[] args){Scanner in=new Scanner(System.in);System.out.println("请输入你... 阅读全文
posted @ 2014-07-05 23:49
穿越地平线
阅读(315)
评论(0)
推荐(0)
摘要:
import java.util.*;public class EvenNumber{//求偶数 public static void main(String[] args){Scanner in=new Scanner(System.in);System.out.println("请输入一个整数"... 阅读全文
posted @ 2014-07-05 23:46
穿越地平线
阅读(361)
评论(0)
推荐(0)

浙公网安备 33010602011771号