using System;
public class Program
{
public static void Main()
string s;
char ch;
int i;
int br=0;
Console.Write("въведете име" );
s=Console. ReadLine() ;
Console.Write ("Въведете търсения символ" );
ch=char.Parse(Console. ReadLine ()) ;
for(i=0;i<=s.Length-1;i++)
if(ch==s[i])
br=br+1;
Console.WriteLine ("Символът се среща" +br+"пъти") ;
}