How to position this code so it runs without any errors as I always get errors and

Related Book For  answer-question
Posted Date: