char *sentance;
char *character;
cout<<"Enter a sentance";
cin>>sentance;
cout<<"Enter a character to display all selected characters";
cin>>character;
cout<<"You selected"<<character;
maybe this works..
Check out
Well the right spelling to sentance is - sentence
Umm.. Sorry if I'm wrong .. I'm just new to this programming field and this Forum ...
So I was just trying to solve the problem of the above guy..I'm sorry if I was wrong..