public sampStru sqrLength() { sampStru rct = new sampStru(); Console.Write("length : "); rct.Value = rct.Read(); return(rct); }
public void newSquare() { sampStru rct = new sampStru(); Console.WriteLine("\nInput the dimensions of the Square( equal length and breadth ) : "); ln = sqrLength(); Console.Write("breadth : "); ht.Value = rct.Read(); }