随笔分类 - 练习
摘要:/*猜数字游戏 * * * */ public class Demo { public static void main(String[] args) { //随机产生0-100的整数 int a = (int) (Math.random()*100); int b = (int) (Math.random()*100); ...
阅读全文
摘要:/* * * 需求: * 求一元二次方程的2个跟 * * */ public class Demo { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入a,b,c的值:"); ...
阅读全文
浙公网安备 33010602011771号