I need help calculating ages from an array of Students Details.
The ages are read in by YEAR / MONTHS and at the moment i am using
For i = 1 to Number of Students
total = total+(CurrentStudent Months)+ (CurrentStudent Years * 12)
Average Age = (total / 12) / Number of Students
However the result of average age gives me someting like 4.5 years
when i want is the result in Years / Months 4 Years and 6 Months
Anyhelp would be greatly accepted