using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class CalcAvgPerc
{
static void Main(string[] args)
{
char ch;
Console.WriteLine("Enter the Charachter to check if its a vowel..");
ch = char.Parse(Console.ReadLine());
Console.WriteLine("Checking Charachter.....");
System.Threading.Thread.Sleep(2000);
if (ch == 'a' || ch == 'A' || ch == 'e' || ch == 'E' || ch == 'i' || ch == 'I' || ch == 'o' || ch == 'O' || ch == 'u' || ch == 'U')
{
Console.WriteLine("Charachter entered is Vowel : {0}", ch);
}
else
{
Console.WriteLine("Charachter is not a vowel:{0}", ch);
}
Console.ReadKey();
}
}
}This program for find a Character is a Vowel or Not in C#.
