Answer: The equation is written below.
Step-by-step explanation:
Ionic compound is defined as the the compound which is formed when electron gets transferred from one atom to another atom. These are usually formed when a metal reacts with a non-metal or a metal reacts with a polyatomic ion or a reaction between two polyatomic ions takes place.
The given compound is an ionic compound formed by the combination of
ions.
The chemical equation for the dissociation of ammonium nitrate follows:

Hence, the equation is written above.