int main() { Set set; char ch='y'; int opt,key; while(ch!='n') { cout<<"1. Insert 2.List 3.Size 4.Delete 5.Lookup\n"; cin>>opt; switch (opt) { case 1:cout<<"Enter key \n"; cin>>key; set.insert(key); break; case 2:set.list(); break; case 3:cout<<"Size of set is "<<set.size()<<"\n"; break; case 4:cout<<"Enter the key that you want to delete \n"; cin>>key; set.deletekey(key); break; case 5:cout<<"Enter the key that you want to lookup \n"; cin>>key; set.lookup(key); break; default:break; } cout<<"Want to continue ? \n"; cin>>ch; } }