To correctly classify a rock as igneous, sedimentary, or metamorphic, what would a geologist need to know?

A.
color of the rock

B.
the hardness of the rock

C.
how the rock formed

D.
how the rock breaks apart