What conditions favor the formation of ionic compounds from elements?
a) Both atoms must be nonmetals b) A metal and a nonmetal
c) Both atoms must be metals d) A metal atom and a noble gas atom