The word 'ice cream' starts with a vowel sound, so 'an' should be used. This is explicitly corrected in section G.
Class 6 › English Grammar and Composition › Chapter 3: Articles: a, an, the › Topic: Introduction to articles: a, an, the
Aligned to the NCTB national curriculum.