using System; public class Test { public static void Main() { //using (System.IO.StreamWriter f2 = new System.IO.StreamWriter(@"out.txt")){ int N; string str1 = string.Empty, str2 = string.Empty; Console.WriteLine("Введите значение N->"); N = Console.Read(); if (N>26){N=26;} else if (N<1){N=1;} for (int i = 1; i<=N; i++){ str1 = str1 + Convert.ToChar(i + 64); str2 = string.Empty;; for (int j = i; j < N; j++){ str2 =str2+'*'; } Console.WriteLine("<<"+str1+str2+">>");//f2.WriteLine("<<"+str1+str2+">>"); } //} } }