Exercise 26.24 Enhanced With Feedback