#include <iostream>
#include <string>
usingnamespace std;
int main()
{
string firststring;
string secondstring;
cout<<"Enter first string:";
cin>>firststring;
cout<<endl;
cout<<"Enter second string:";
cin>>secondstring;
cout<<endl<<endl;
int value = firststring.compare(secondstring);
cout<<"With firststring as comapre function's object,"<<endl;
cout<<"and secondstring as its argument, compare" <<endl;
cout<<"returns a value of "<< value;
char f;
cin>>f;
return 0;
}