Definitions
Exothermic - accompanied by, or requiring, the release of heat.
Endothermic - accompanied by, or requiring, the absorption of heat.
Now, does the melting ice get warmer or colder?
If it gets colder, then it is exothermic.
If it gets warmer, then it is endothermic.
Consider how we make ice - we put water into a cold place so that it gets colder with time.