Answer:
Following is attached the code that works accordingly as required. It reads in characters from standard input and outputs the number of times it sees an 'a' followed by the letter 'b'. All the description of program is given inside the code as comments.
I hope it will help you!
Explanation:
the answer is D. without the right tags the content wont be accurately indexed
What what what what what what
Um can you be more descriptive