#include<iostream>
using namespace std;
int main()
{
char a=100;
cout<<"Menu:A(dd) D(elete) S(ort) Q(uit) ,Select one: "<<endl;
while(a!=81)
{
cin>>a;
switch(a)
{
case 65:
cout<<"数据已经增加"<<endl;
break;
case 68:
cout<<"删除"<<endl;
break;
case 83:
cout<<"排序"<<endl;
break;
default :
cout<<"wrong number"<<endl;
break;
}
}
cout<<"quit"<<endl;
return 0;
}