Problem:
Had to write a boolean method isEndOfSentence() that has a single value char parameter c. The method returns true if c is either a period, a question mark, or an exclamation point, otherwise the method returns false..
My Solution:
Question one:
Does my method solve the problem?
Question two:
Seems to me there should be an easier way to do this? Is there...
Thanks,
Pete