摘要: package demo; import java.util.Scanner; public class Tex { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("请输入一个0-1000之间的整数"); int... 阅读全文
posted @ 2017-09-18 13:39 吕志远 阅读(172) 评论(0) 推荐(0)
摘要: package homework; import com.rupeng.game.GameCore; public class Test implements Runnable { public static void main(String[] args) { GameCore.start(new Test()); } @Override p... 阅读全文
posted @ 2017-09-18 13:39 吕志远 阅读(139) 评论(0) 推荐(0)
摘要: //Author:吕志远public class world{ public static void main(String[] args){ double p=3.14,i=5.50; System.out.println(" 圆的面积:"+ p*i*i+ "cm2"); System.out.println(" 圆的周长:"+ 2*i*p +"cm"); } } 阅读全文
posted @ 2017-09-18 13:38 吕志远 阅读(80) 评论(0) 推荐(0)
摘要: //Author:吕志远public class aaa{ public static void main(String[] args){ System.out.println(" J A V V A "); System.out.println(" J A A V V A A "); System.out.println(" J J A A A V V A A A "); System.o... 阅读全文
posted @ 2017-09-18 13:37 吕志远 阅读(63) 评论(0) 推荐(0)
摘要: public class my{ public static void main(String[] args){ int a=35+100*60; /*将跑步时间转化为秒*/ double b=2.0*1.6; /*将跑步路程转化为公里*/ System.out.println("平均速度:"+ a/3600/b + "时/公里"); } } 阅读全文
posted @ 2017-09-18 13:37 吕志远 阅读(58) 评论(0) 推荐(0)