Answer:
A molecular compound is a molecule with covalent bonds between its atoms because they have a slight difference in electronegativity and more than half-filled valence shells. They tend to be molecules composed of nonmetals. On the other hand, ionic compounds are molecules with a nonmetal and a metal bonded by ionic bonds due to the difference between their electronegativities being significant. So, to determine if a compound is molecular or ionic, the type of elements in the compound and the difference between their electronegativities have to be considered.