基本信息
源码名称:客户消费积分管理系统.cpp
源码大小:0.01M
文件格式:.cpp
开发语言:C/C++
更新时间:2021-01-07
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍
客户消费积分管理系统

int main()
{
    Link L;
    NEW(&L);
    Creat(L);
    char b[15],c[15],d[15],f[15],g[15];
    Guke e;
    while(1)
    {
        int a;
        cout<<"*****************************************"<<endl;
        cout<<"*****************************************"<<endl;
        cout<<"*****欢迎登陆客户消费积分管理系统********"<<endl;
        cout<<"*********请输入你要执行的操作************"<<endl;
        cout<<"************1.查询客户信息***************"<<endl;
        cout<<"************2.修改客户信息***************"<<endl;
        cout<<"************3.增加客户信息***************"<<endl;
        cout<<"************4.删除客户信息***************"<<endl;
        cout<<"************5.查询客户享有的折扣*********"<<endl;
        cout<<"************6.客户产生消费***************"<<endl;
        cout<<"************0.退出管理系统***************"<<endl;
        cout<<"*****************************************"<<endl;
        cout<<"*****************************************"<<endl;
        cin>>a;
        if(a==1)
        {
            cout<<"请输入你要查询的客户的会员编号或者手机号码或者姓名:"<<endl;
            cin>>b;
            Find(L,b);
        }
        else if(a==2)
        {
            cout<<"请输入你要修改的客户的会员编号或者手机号码或者姓名:"<<endl;
            cin>>c;
            modify(L,c);
        }
        else if(a==3)
        {
            Add(L,e);
        }
        else if(a==4)
        {
             cout<<"请输入你要删除的客户的会员编号或者手机号码或者姓名:"<<endl;
            cin>>d;
            Delete(L,d);
        }
        else if(a==5)
        {
            cout<<"请输入你要查询的客户的会员编号或者手机号码或者姓名:"<<endl;
            cin>>f;
            Discount(L,f);
        }
        else if(a==6)
        {
            cout<<"请输入你要查询的客户的会员编号或者手机号码或者姓名:"<<endl;
            cin>>g;
            Shopping(L,g);
        }
         else if(a==0)
        {
            cout<<"感谢您对本系统的使用,再见!"<<endl;
            cout<<"13班严杰 2019211001001313"<<endl;
            break;
        }
        else
            cout<<"输入无效,请重新输入!"<<endl;
    }

}