Write a program to accept a string. Convert the string to uppercase. Count and output the number of Consecutive letter pairs that exist in the string.
Sample Input: "IT WAS NOT TOUGH FOR HIM TO RESIDE ABOVE THE HILL"
Sample Output:
Number of consecutive pair of characters = 6
Answers
Answered by
0
Answer:
I DIDN'T UNDERSTAND THE QUESTION CORRECT
Similar questions