Generate yearly report - assignment 2

check this thread it may help you