novice
2008-03-12 21:17:04 UTC
#include
#include
using namespace std;
int main ()
{
char a[21]= "Have a nice day!";
char cstring[21];
cout<<"Please enter a word: ";
cin.getline (cstring,21);
if (strcmp (a,cstring)>0)
{
cout<<"The first string is greater than the other.\n";
cout< }
for (int index=0; index<21;index++)
{
cout<
}
return 0;
}