摘要: // 写4个方法:加减乘除// 利用循环+ switch进行用户交互// 传递需要操作的两个数// 输出结果 public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.p 阅读全文
posted @ 2021-11-13 23:50 tuyin 阅读(2052) 评论(0) 推荐(0)
摘要: package com.tu.struct;//整个程序打印出/* * *** ***** ******* ********* ******* ***** *** * */public class TestDemo { public static void main(String[] args) { 阅读全文
posted @ 2021-11-13 16:34 tuyin 阅读(280) 评论(0) 推荐(0)
摘要: package com.tu.struct;public class ForDemo4 { /* 1*1=1 1*2=2 2*2=4 1*3=3 2*3=6 3*3=9 1*4=4 2*4=8 3*4=12 4*4=16 1*5=5 2*5=10 3*5=15 4*5=20 5*5=25 1*6=6 阅读全文
posted @ 2021-11-13 14:59 tuyin 阅读(1554) 评论(0) 推荐(0)