栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > C/C++/C#

27.【C++模拟长春工业大学人文信息学院管理系统】

C/C++/C# 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

27.【C++模拟长春工业大学人文信息学院管理系统】

#include
#include
#include
using namespace std;
int main()
{
    system("color 70");
    cout << "==================================================长春工业大学管理系统================================================" << endl<     int selete,n=2,n1,n2,n3,n4,n5;
    char number1[20], number2[20], number3[20], lock1[20], lock2[20], lock3[20];
    cout << "1.学生" << "    " << "2.教师" << "    " << "3.管理员" << endl << endl << endl;
    cout << "请选择您的身份:" << endl << endl << endl;
    cin >> selete;
    system("cls");
        if (selete == n)
        {
            while (1)
            {
                system("cls");
            system("color E2");
            cout << "======================================================教师管理界面======================================================" << endl << endl << endl;
            cout << "请输入您的工号:";
            cin >> number1;
            cout << "请输入您的密码:";
            cin >> lock1;
            system("cls");
            cout << "======================================================登入成功======================================================" << endl << endl << endl;
            cout << "|| 1.工作管理||" << "                    " << "||2.课程管理||" << "                    " << "||3.员工福利||" << endl;
            cout << "                                                                                                                                " << endl;
            cout << "|| 4.学校简介||" << "                    " << "||5.奖励查询||" << "                    " << "||6.工资发放||" << endl;
            cout << "您要查询:" << endl;
            cin >> n2;
            system("cls");
            
                switch (n2)
                {
                case 1:
                    cout << "======================================================工作管理======================================================" << endl << endl << endl;
                    cout << "语文:李威涛 " << "            " << "数学:雷妍妍 " << "        " << "英语: 李冬" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "程序: 王一丹" << "            " << "物理: 李维林" << "        " << "化学: 张四军" << endl << endl << endl;
                    break;
                case 2:
                    cout << "======================================================课程管理======================================================" << endl << endl << endl;
                    cout << "WEB 前端技术" << "            " << "java" << "            " << "phtyon" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "HTML 前端技术" << "            " << "C#" << "            " << "弃学" << endl << endl << endl;
                    break;
                case 3:
                    cout << "======================================================员工福利======================================================" << endl << endl << endl;
                    cout << "缴纳五险一金,包吃包住,996工作制度" << endl << endl << endl << endl;
                    break;
                case 4:
                    cout << "======================================================学校简介======================================================" << endl << endl << endl;
                    cout << "长春工业大学坐落于吉林省长春市,目前有三个校区,20多个附属院校" << endl << endl << endl;
                    break;
                case 5:
                    cout << "======================================================奖励查询======================================================" << endl << endl << endl;
                    cout << "您最近的奖励积分成绩是: 20.3" << endl;
                    cout << "如果成绩达到50分,学校一次性发放奖金10000元" << endl << endl << endl;
                    break;
                case 6:
                    cout << "======================================================工资发放======================================================" << endl << endl << endl;
                    cout << "您的工资135642元。已转账至开发银行!" << endl << endl << endl;
                    break;
                default:
                    cout << "您输入的指令有误,不能够继续进行操作! " << endl;
                    break;
                }
                cout << "如果想还回上一页:请随意输入一个整数!" << endl;
                cin >> n4;
                if (n4== 0)
                {
                    break;
                }
            }
        }
    else if (selete < n)
    {
        while (1)
        {
                system("cls");
                system("color E2");
                cout << "======================================================学生管理界面======================================================" << endl << endl << endl;
                cout << "请输入您的工号:";
                cin >> number2;
                cout << "请输入您的密码:";
                cin >> lock2;
                system("cls");
                system("color 70");
                cout << "======================================================登入成功======================================================" << endl << endl << endl;
                cout << "|| 1.成绩查询||" << "                    " << "||2.选课管理||" << "                    " << "||3.论文交纳||" << endl;
                cout << "                                                                                                                                " << endl;
                cout << "|| 4.学校简介||" << "                    " << "||5.绩分查询||" << "                    " << "||6.学费交纳||" << endl;
                cout << "您要查询:" << endl;
                cin >> n1;
                system("cls");
                system("color E2");
                switch (n1)
                {
                case 1:
                    cout << "======================================================成绩查询======================================================" << endl << endl << endl;
                    cout << "语文: 86" << "            " << "数学: 96" << "        " << "英语: 110" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "程序: 86" << "            " << "物理: 96" << "        " << "化学: 110" << endl << endl << endl;
                    break;
                case 2:
                    cout << "======================================================选课管理======================================================" << endl << endl << endl;
                    cout << "WEB 前端技术" << "            " << "java" << "            " << "phtyon" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "HTML 前端技术" << "            " << "C#" << "            " << "弃学"  << endl << endl << endl;
                    break;
                case 3:
                    cout << "======================================================论文缴纳======================================================" << endl << endl << endl;
                    cout << "正在缴纳" << endl << endl << endl << endl;
                    break;
                case 4:
                    cout << "======================================================学校简介======================================================" << endl << endl << endl;
                    cout << "长春工业大学坐落于吉林省长春市,目前有三个校区,20多个附属院校" << endl << endl << endl;
                    break;
                case 5:
                    cout << "======================================================绩点查询======================================================" << endl << endl << endl;
                    cout << "您最近的绩点成绩是: 20.3" << endl<                     break;
                case 6:
                    cout << "======================================================学费缴纳======================================================" << endl << endl << endl;
                    cout << "你已完成缴纳" << endl<                     break;
                default:
                    cout << "您输入的指令有误,不能够继续进行操作! " << endl;
                    break;
                }
                cout << "如果想返回上一步,请随意输入一个整数!" << endl;
                cin >> n4;
                if (n4 == 0)
                {
                    break;
                }
        }
    }
    else
    {
        while (1)
        {
                system("cls");
                system("color E2");
                cout << "======================================================管理员界面======================================================" << endl << endl << endl;
                cout << "请输入您的工号:";
                cin >> number3;
                cout << "请输入您的密码:";
                cin >> lock3;
                system("cls");
                system("color 70");
                cout << "======================================================登入成功======================================================" << endl << endl << endl;
                cout << "|| 1.成绩管理||" << "                    " << "||2.选课管理||" << "                    " << "||3.论文交纳||" << endl;
                cout << "                                                                                                                                " << endl;
                cout << "|| 4.学校简介||" << "                    " << "||5.工资管理||" << "                    " << "||6.学费收取||" << endl;
                cout << "您要查询:" << endl;
                cin >> n3;
                system("cls");
                system("color E2");
                switch (n3)
                {
                case 1:
                    cout << "======================================================成绩管理======================================================" << endl << endl << endl;
                    cout << "语文 " << "            " << "数学" << "        " << "英语" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "程序" << "            " << "物理" << "        " << "化学" << endl;
                    break;
                case 2:
                    cout << "======================================================选课管理======================================================" << endl << endl << endl;
                    cout << "WEB 前端技术" << "            " << "java" << "            " << "phtyon" << endl;
                    cout << "                                                                                                                                " << endl;
                    cout << "HTML 前端技术" << "            " << "C#" << "            " << "弃学" << endl;
                    break;
                case 3:
                    cout << "======================================================论文缴纳======================================================" << endl << endl << endl;
                    cout << "以收取21032份,还差253份" << endl << endl << endl << endl;
                    break;
                case 4:
                    cout << "======================================================学校简介======================================================" << endl << endl << endl;
                    cout << "长春工业大学坐落于吉林省长春市,目前有三个校区,20多个附属院校" << endl;
                    break;
                case 5:
                    cout << "======================================================工资发放======================================================" << endl << endl << endl;
                    cout << "工资已发放" << endl;
                    break;
                case 6:
                    cout << "======================================================学费收取======================================================" << endl << endl << endl;
                    cout << "已缴纳完成" << endl;
                    break;
                default:
                    cout << "您输入的指令有误,不能够继续进行操作! " << endl;
                    break;
                }
                cout << "如果想返回上一个请随意输入一个整数" << endl;
                cin >> n5;
                if (n5 == 0)
                {
                    break;
                }
        }
    }
    return 0;
}


 

 

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1022174.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号