public class HomeAssignment2
static void Main(string[] args)
Console.WriteLine("Enter rectangle length: ");
int x = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("Enter rectangle width: ");
int y = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("The scope of the rectangle: "+(2*x+2*y));
Console.WriteLine("the area of the rectangle: "+x*y);