Write a function prototype named COMPARE that takes a sentence and a word as parameters and returns true or false.
Answers
Answered by
2
Answer:
boolean compare( string s, string w)
{
boolean z;
z=s.equals(w);
if(z=='true')
return true;
else
return false;
}
Similar questions