Homework: Age calculator

I did the program but i did not get the answer.Please help.
Homework: Age calculator - image 1 - student project