The compound MgO is an example of a(n)
covalent compound
ionic compound
element molecule
covalent compound
ionic compound
element molecule