public static void Main()
Console.WriteLine("Please Enter the Length");
string strLength = Console.ReadLine();
Console.WriteLine("Please Enter the Width");
string strWidth = Console.ReadLine();
int iLength = Convert.ToInt32(strLength);
int iWidth = int.Parse(strWidth);
int iArea = iLength * iWidth;
Console.WriteLine("The rectangle is equal to " +iArea);
Console.WriteLine("Please Enter the Piece");
string strPiece = Console.ReadLine();
int iAreaByPiece = iArea / Convert.ToInt32(strPiece);
Console.WriteLine("Each Piece is equal to " +iAreaByPiece);