#include #include #include using namespace std; //myMapMultiMapkey_comp3.cpp void compare(bool); string str1, str2; int main() { multimap m1; //multimap n1; multimap::key_compare kstr1; //map::key_compare kint1; map::iterator it; typedef pairmypair; bool result; // cout<<"\n if the key on the left is not equal to the key"; cout<<"\n on the right, function will return true or 1"; // keys are not unique in multimap m1.insert(mypair("A","Apple")); m1.insert(mypair("A","Ata")); m1.insert(mypair("A","Atlantic")); // for(it= m1.begin(); it !=m1.end(); it++) { str1 = it->first; str2= it->second; cout<<"\n multimap "<< it->first <<":" <<(*it).second; result =kstr1(str1,str2); compare(result); } return 0; } void compare(bool b1) { if(!b1) { cout<<"\n \t \b no less than hypothesis is "<