Three friends all have ages that are consecutive integers. The sum of their ages is 48. what is the age of the eldest friend?

A. 16 years old
B. 15 years old
C. 17 years old
D. 20 years old