Is "He is 7-year-old" grammatically correct? [closed]

Solution 1:

"7-year-old" is a noun (or noun phrase) and therefore requires an article.

He is a 7-year old.

Alternatively "7 years old" is an adjectival phrase which doesn't take an article.

He is 7 years old.