摘要: 练习题:用各种循环方法写一个控制台计算器 要求: 能实现加减乘除四则基本运算 能循环接收数据 交互使用 do...while public class ClacDoWhileDome02 { public static void main(String[] args) { System.out.pr 阅读全文
posted @ 2021-09-12 00:37 fantasyfa 阅读(367) 评论(0) 推荐(0)
摘要: public class Dome06 { public static void main(String[] args) { System.out.println(f(5)); } //递归:自己调用自己就是递归,适合用于小数字运算,大数容易卡死电脑,看情况使用 public static int 阅读全文
posted @ 2021-09-12 00:36 fantasyfa 阅读(34) 评论(0) 推荐(0)