When you write someone's age do you write like "15 year-old" or "15 year old"?

What is the proper way to write that? I never know whether to put that little line "-" and what is that lin " -" called anyways? THANKS.
Update: I wasn't sure where to categorize this question. Is there a category for questions about grammer?
5 answers 5