Programming Basics Exam - 23 July 2017, 05. Cup
Здравейте. Дали ще може да ми помогнете с тази задача, аз стигнах до тук:
  int size = int.Parse(Console.ReadLine());
            int widht = 5 * size;
            char dot = '.';
            char hashtag = '#';
            int countOfDots = size;
            int countOfHashtags = (widht - 3) / 2;
            int rows = size  / 2;
            string toFormat = "{0}{1}{1}{0}";
            for (int i = 0; i < rows; i++)
            {
               
                string dots = new string(dot, countOfDots);
                string hashtags = new string(hashtag, countOfHashtags);
Console.WriteLine(toFormat, dots, hashtags);
                countOfDots++;
                countOfHashtags--;
            }
Благодаря, предварително!
Благодаря!