Square of Stars
Здравейте,
След доста четене по темата успях да направя следния код:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Square_of_stars
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = int.Parse(Console.ReadLine());
            Console.WriteLine(new string('*', n));
            for (int i = 0; i < n - 2; i++) ;
            {
                Console.WriteLine('*' + new string(' ', n - 2) + '*');
                Console.WriteLine(new string('*', n));
                // TODO: print the rectangle
            }
        }
    }
}
Даде ми само 20 точки от 100, а в Visual Studio работи, мисля че с 5 има проблем но нямам идея моля за вашата помощ.
Благодаря.