Programming Logic and Design Using Methods Programming Logic and Design, Fifth Edition, Comprehensive * Objectives Review how to use a simple method with local variables…