Count occurrence of a character
Raji wants to count the no of occurrences of the given character.Write a program to accept a word from the user. Get a character from the user and find the no of occurrences .
Check whether the given character and word is valid
The word is valid if it contains only alphabets and no space or any special characters or numbers.
The character is valid if it is an alphabet alone.
Answers
Answered by
0
Its an easy question just focus on how to validate the word
Similar questions