The deck is a flat surface that is elevated from the ground and attached to the building. The deck is…