What is not working? Furthermore, what steps did you take to make it not working?
Go back to my post #24. When you were making your changes you dropped saving the return value of your calculate average function. So when you pass averageScore to your print below average function it is still 0.