Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up into manageable sections. In …