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 how many pieces?.");
string strPieces = Console.ReadLine();
int iPieces = Convert.ToInt32(strPieces);
int iPiecesDivide = iArea / iPieces;
Console.WriteLine("The divide by pieces is equal to " +iPiecesDivide);