IBM Company Programming Arrays

Input:Hello world,l
Output:9
Input :Hello world,m
Output:-1
character 'l' is repeated 3 times we have to return the index value of last 'l'
character 'm' is not there so return -1

Read Solution (Total 7)

IBM Other Question

Wap to find a desired char in the string and print its ASCII value...Be perfect with String methods 2,4,8,2,16,0.5,8,3/4,____ ?