From 967544a5d9a0cc06ce4dd707bc122452127e48b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BE=B7=E5=BA=B7?= <1669327472@qq.com> Date: Thu, 22 Dec 2022 00:05:22 +0800 Subject: [PATCH] =?UTF-8?q?20221222=20=E5=AD=A6=E7=94=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...41\347\220\206\347\263\273\347\273\237.md" | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 "13 \345\274\240\345\276\267\345\272\267/20221222 \345\255\246\347\224\237\347\256\241\347\220\206\347\263\273\347\273\237.md" diff --git "a/13 \345\274\240\345\276\267\345\272\267/20221222 \345\255\246\347\224\237\347\256\241\347\220\206\347\263\273\347\273\237.md" "b/13 \345\274\240\345\276\267\345\272\267/20221222 \345\255\246\347\224\237\347\256\241\347\220\206\347\263\273\347\273\237.md" new file mode 100644 index 0000000..5ed1513 --- /dev/null +++ "b/13 \345\274\240\345\276\267\345\272\267/20221222 \345\255\246\347\224\237\347\256\241\347\220\206\347\263\273\347\273\237.md" @@ -0,0 +1,47 @@ +``` +package 学生管理系统; + +import java.util.Scanner; + +public class A1 { + public static void main(String[] args) { + System.out.println( + "\n欢迎使用学生管理工具"+ + "\n \t\t1.浏览所以学生管理信息"+ + "\n \t\t2.添加学生信息\t\t"+ + "\n \t\t3.修改学生信息\t\t"+ + "\n \t\t4.删除学生信息\t\t"+ + "\n \t\t5.查询学生信息\t\t"+ + "\n \t\t6.退出管理系统\t\t" + ); + } + public static void fa(int num){ + switch (num){ + case 1: + System.out.println("浏览学生信息"); + break; + case 2: + System.out.println("添加学生信息"); + break; + case 3: + System.out.println("修改学生信息"); + break; + case 4: + System.out.println("删除学生信息"); + break; + case 5: + System.out.println("查询学生信息"); + break; + case 6: + System.out.println("推出"); + break; + default: + System.out.println("输入错误"); + } + Scanner cs = new Scanner(System.in); + System.out.println("输入查找信息"); + num= cs.nextInt(); + } +} +``` + -- Gitee