✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
static void Main()
{
char [] ch = { 'з', 'т', 'р', 'про', 'до', 'а'};
string a = new string (ch);
P (F (a)); P (a);
}
static string F (string a)
{
string b = "";
for (int i = 0; i
b = b + a [i];
b = b.Replace ( 'про', 'а');
b = b.Replace ( 'до', 'н');
a.Replace ( 'про', 'а');
a.Replace ( 'до', 'н');
return b;
}
static void P (string a)
{
System.Console.Write( "{0}", a);
}
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
(**CharpBase**)