using System; using System.Collections.Generic; using System.Linq; using System.Text;
namespace ConsoleApplication7 { class Program { static void Main(string[] args) { ok: Console.Write("Длина = "); int a = Convert.ToInt32(Console.ReadLine()); Console.WindowWidth = a; Console.Write("Ширина = "); int b = Convert.ToInt32(Console.ReadLine()); Console.WindowHeight = b; Console.WriteLine(); goto ok; } } }
|