Computer Science, asked by sejalb1697, 10 months ago

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 sridharrama3928
0

Answer:

I DIDN'T UNDERSTAND THE QUESTION CORRECT

Similar questions