inString takes two arguments : a string S and a character c. inString tests if the character c is in the string S. inString returns the index of its first occurrence or -1 if c is not in S. Input :
Output :
Input :