1
Reply

Program Issues and Help

Dee Walker

Dee Walker

Nov 4 2017 3:15 PM
118

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)