Do you use both in written English?<br/><br/>1. A four-year-old child could solve the problem.<br/>2. A four year-old could solve the problem.