#include #include "genlib.h" #include "simpio.h" #include "string.h" bool strend(char s[], char t[]); main() { string s,t; s=GetLine(); t=GetLine(); if (strend(s,t)) printf("Emfanizetai sto telos\n"); else printf("Den emfanizetai sto telos\n"); } bool strend(char s[], char t[]) { int n1,n2,i; n1=strlen(s); n2=strlen(t); for(i=n1;i>=n1-n2+1;i--) if (s[i]!=t[i-n1+n2]) return(FALSE); return(TRUE); }