Write program for completion of lesson 9 objective 1