package QQq;
import java.util.Scanner;
public class Menu {
public void showLoginMenu() {
System.out.println("\n\t欢迎使用我行我素购物管理系统\n");
System.out.println("\t\t1.登录系统\n");
System.out.println("\t\t2.退出\n");
System.out.println("*************************");
System.out.println("请选择,输入数字:");
}
public void showMainMenu() {
boolean con;
do {
con = false;
Scanner input = new Scanner(System.in);
System.out.println("我行我素购物管理购物系统主菜单");
System.out.println("***********************");
System.out.println("1.客户信息管理");
System.out.println("2.真情回馈");
System.out.println("************************");
System.out.println("请选择,输入数字或0返回上一级菜单:");
int no = input.nextInt();
if (no == 1) {
showCustMMenu();
con = true;
} else if (no == 2) {
showSendGMenu();
con = true
第十二章上机练习3
最新推荐文章于 2021-06-30 10:22:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)