This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Challenge | |
{ | |
public static void Main() | |
{ | |
Console.WriteLine("Enter String Name"); | |
string inputString = Console.ReadLine(); | |
string alphabet = new String(inputString.Where(Char.IsLetter).ToArray()); | |
int vowel = CountVowels(alphabet); | |
int consonants = CountConsonants(alphabet); | |
Console.WriteLine("{0}vowels:{1},consonants:{2}{3}", "{", vowel, consonants, "}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Challenge { | |
public static void Main() { | |
Output.Write(Input.Read()); | |
} | |
} |