Answers for "How Many Vowels"

C#
0

How Many Vowels

using System.Linq;
public class Program 
{
    public static int CountVowels(string str)
      => str.Count(a=>$"aeiouAEIOU".Contains(a));
}
Posted by: Guest on July-19-2021

Code answers related to "How Many Vowels"

C# Answers by Framework

Browse Popular Code Answers by Language