Programming Examples
Java program to count the double letter sequences word in given string
Write a program to accept a string. Convert the string to uppercase. Count and output the number of double letter sequences that exist in the string.
Example:
Input : SHE WAS FEEDING THE LITTLE RABBIT WITH AN APPLLE
Output: 4
Output