Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cout<<"Welcome To My Programn"<<endl<<endl;
- cout<<"Menun"<<endl;
- cout<<"1.Create a new listn"<<endl;
- cout<<"2.Insert new recordn"<<endl;
- cout<<"3.Delete new recordn"<<endl;
- cout<<"4.find a new recordn"<<endl;
- cout<<"5.Exitn"<<endl;
- cout<<"Select your menu:n"<<endl;
- cin>>selection;
- return selection;
- select = menu();
- do{
- if (select==1){
- cout<<"Create new menu:n"<<endl;
- }
- else if (select==2){
- cout<<"Insert new record:n"<<endl;
- }
- else if (select==3){
- cout<<"Delete new record:n"<<endl;
- }
- else if (select==4)
- {
- cout<<"Find a new record:n"<<endl;
- }
- else
- {
- cout<<"Invalid selection Enteredn"<<endl;
- }
- select = menu();
- }while(select !=5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement