public static void DrawSquare(int n, int x)
public static void DrawRectangle(int n, int x)
public static void DrawTriangle(int n)
public static void Menue()
Console.WriteLine("Geometric menu:");
Console.WriteLine("1.Draw Square");
Console.WriteLine("2.Draw Rectangle");
Console.WriteLine("3.Draw Triangle");
public static void Main()
Console.Write("Type your choice:");
int choice=int.Parse(Console.ReadLine());
Console.Write("choose length :");
int length=int.Parse(Console.ReadLine());
Console.Write("choose wedth :");
int wedth=int.Parse(Console.ReadLine());
DrawSquare(length,wedth);
Console.Write("choose length :");
int length=int.Parse(Console.ReadLine());
Console.Write("choose wedth :");
int wedth=int.Parse(Console.ReadLine());
DrawRectangle(length,wedth);
Console.Write("choose length :");
int length=int.Parse(Console.ReadLine());