#include <string.h>
#include <conio.h>
int main()
{
char str1[100], str2[100];
printf("Enter the first string: ");
gets(str1);
printf("Enter the second string: ");
gets(str2);
if( strcmp(str1, str2) == 0 )
{
printf("Entered strings are equal.\n");
}
else
{
printf("Entered strings are not equal.\n");
}
getch();
}