Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string.h>
- using namespace std;
- int main()
- { char s1[101], s2[101];
- int i, N, ok;
- gets(s1);
- gets(s2);
- N=strlen(s1);
- for(i=0;i<N;i++)
- {if(s1[i]!=s2[i]) ok=0;
- if(ok) cout<<"Este";
- else cout<<"Nu este";}
- return 0;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement