// This program tests two strings for equality.
#include
using namespace std;
int main()
{
const int SIZE = 40;
char stringl[SIZE], string2[SIZE];
cout << "Enter a string: ";
cin.getlIne(stringl, 80);
cout << "Enter another string: ";
cin.getline(string2, 80);
if (stringl == string2)
cout << "The strings are the same.\n";
else
cout
return 0;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.