Dee Walker

Dee Walker

  • NA
  • 43
  • 11.2k

Program Issues and Help

Nov 4 2017 3:15 PM

I need a program that passes a string to a method that returns the number of vowels in the string.

Note: For testing purposes, Y will not be counted as a vowel.

 
using System;
using static System.Console;
class CountVowelsModularized
{
public static void Main()
{
// Write main here.
}
public static int CountVowels(string phrase)
{
// Write CounVowels method here.
}
}
 

Answers (1)