Exemple #1
0
         public override void getAverageArea(){
             int sum = 0;
             foreach(Room room in RoomList){
                 sum+= room.area;
             }
             int test = sum / RoomList.Count();
             Console.WriteLine($"This house has an average room area of: {test}");
 }