Predict which of the following compounds are ionic and which…

Predict which of the following compounds are ionic and which are covalent, based on the location of their constituent atoms in the periodic table.  In order, select C for covalent compounds, I for ionic compounds, and B for compounds with a metal and a covalent ion.   KCl, CaCO3, CO2, CaF2, NH3