Write a C# program to count a total number of vowel or consonant in a string
belongs to collection: All String programs in C# with examples
All Answers
total answers (1)
belongs to collection: All String programs in C# with examples
total answers (1)
I have used Visual Studio 2012 for debugging purpose. But you can use any version of visul studio as per your availability..
Result:
Enter the string : techstudy.org
The total number of vowel in the string is : 3
The total number of consonant in the string is : 9
need an explanation for this answer? contact us directly to get an explanation for this answer