#include #include #include //comparacao de strings int main() { int i, j; char str1[50]; char str2[50]; scanf("%s",str1); scanf("%s",str2); if (strcmp(str1, str2) == 0) printf("string %s \t igual a string %s \n",str1,str2); else printf("string %s \t nao eh igual a string %s \n",str1,str2); system("pause"); return 0; }