Rocks are classified as igneous, metamorphic, or sedimentary according to:
a) Their color
b) Their shape
c) How they formed
d) The minerals they contain