this is what i have so far, i need to combine 2 c strings, print them backwards and figure out whether they are a palindrome or not.
(the for loop is where i stopped, it could be wrong)
#include<iostream>
#include<cstring>
using namespace std;
int main( )
{
char s1[15], s2[8];
int length1;
int count = 0;
cout << "Now I let you enter two strings \n";
cout << "Enter the first string, then the second \n";
// Another way to initialize the two strings
cin >> s1 >> s2;
strcat(s1, s2);
for(int i=0, i < length, i++)
{
count++;
system("pause");
return 0;
}