C#:
{
int sayi, cift = 0, tek = 0;
for (int i = 1; i <= 10; i++)
{
Console.Write("{0}. Sayıyı Girin : ", i);
sayi = int.Parse(Console.ReadLine());
if (sayi % 2 == 0)
cift++;
else if (sayi % 2 == 1)
tek++;
}
Console.WriteLine("Çift Sayı : {0} ",cift);
Console.WriteLine("Tek Sayı : {0} ", tek);
Console.ReadKey();
}
