#include #include void main() { int a,b,c; char x[10],y[10],z[10]; cout<<"Enter some text "; cin>>x; cout<<"Enter another piece of text: "; cin>>y; if(strcmp(x,y)==0) { cout<<"match"; } else { cout<<"no match" ; } }