- 博客(4)
- 收藏
- 关注
原创 Hanoif汉诺塔
public class Hanoif { // 汉诺塔 public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); System.out.print("请输入盘子数: "); int n = sc.nextInt(); System.out.
2014-04-29 19:38:40 462
原创 Random用法
public class CoinRandom { public static void main(String[] args) { String [] a={"正面","反面"}; int n=(new java.util.Random()).nextInt(2);//在0,1随机选一个 System.out.println(a[n]); double ran=Math
2014-04-24 21:40:06 437
原创 九九乘法表
public class ChengTable{//九九乘法表 public static void main(String [] args){ for(int i=1;i<10;i++){ for(int j=1;j<=i;j++){ System.out.print(j+"×"+i+"="+i*j+"\t"); } System.out.println();
2014-04-24 21:36:42 348
原创 msdn
《Microsoft Developer Network》是微软一个期刊产品,专门介绍各种编程技巧,及下载。 msdn i tell you 是民间提供的微软产品下载。
2014-04-01 11:29:55 603
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人