随笔分类 -  练习

摘要:/*猜数字游戏 * * * */ public class Demo { public static void main(String[] args) { //随机产生0-100的整数 int a = (int) (Math.random()*100); int b = (int) (Math.random()*100); ... 阅读全文
posted @ 2017-04-01 19:49 皮皮虾我们上 阅读(143) 评论(0) 推荐(0)
摘要:/* * * 需求: * 求一元二次方程的2个跟 * * */ public class Demo { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入a,b,c的值:"); ... 阅读全文
posted @ 2017-04-01 18:06 皮皮虾我们上 阅读(193) 评论(0) 推荐(0)