Answer:
"Never feed a wild animal out of your hand," the park ranger warned sternly.
Step-by-step explanation:
The end of a quote should always end in a comma. As there should be no ending punctuation at the end of a quote, there is no reason to capitalize the word "the".