C#: Check whether the first appearance of 'a' in a given string is immediately followed by another 'a'
First 'a' Followed by Another 'a'
Write a C# Sharp program to check whether the first appearance of "a" in a given string is immediately followed by another "a".
Visual Presentation:

Sample Solution:-
C# Sharp Code:
Sample Output:
True False True
Flowchart:

C# Sharp Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a C# Sharp program to create a count the string "aa" in a given string and assume "aaa" contains two "aa".
Next: Write a C# Sharp program to create a new string made of every other character starting with the first from a given string.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics