Write a method static void drawSquare( int n ) For example drawSquare(5) results in ***** ***** ***** ***** Solution using System; class Stars { static void DrawSquare(int n) { for (int y = 1; y <= n; i++) { for(int x = 1; x <= 3 * n; x++) { if ((y==1||y==n)&&(x>=n&&x<=2*n) ) { Console.Write(\"*\"); } else { Console.Write(\" \"); } } Console.WriteLine(); } } static void DrawRectangle(int n) { for (int y = 1; y <= n; y++) { for(int x = 1; x <= 3 * n; x++) { Console.Write(\"*\"); } Console.WriteLine(); } } static void Main(){ int n; Console.Write(\"Input n : \"); n = int.Parse(Console.ReadLine()); DrawSquare(n); DrawRectangle(n); DrawSquare(n); DrawSquare(n); Console.ReadLine(); } } .