Files
Flight-Information-Manageme…/jinruxitong.cpp
2024-03-31 23:08:40 +08:00

27 lines
652 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#include<iostream>
#include<fstream>
#include<sm.h>
#include<cmath>
using namespace std;
void jinruxitong()
{
while (true)
{
int xuanze;
cout << "请选择进入的系统: " << endl;
cout << "1.航班管理系统 " << endl;
cout << "2.订退票管理系统 " << endl;
cout << "3.售票管理系统" << endl;
cout << "4.退出" << endl;
cin >> xuanze;
switch (xuanze)
{
case 1:hangbanguanlixitong(); break;
case 2:dingtuipiaoxitong(); break;
case 3:shoupiaoguanlixitong(); break;
case 4: exit; break;
}
if (xuanze >= 1 && xuanze <= 4)break;
else cout << "请输入数字1-4以进入或退出系统" << endl;
}
}