A building has cracks when the pressure in the building surpasses its strength. They are classified into structural and non-structural…