Please choose the correct answer to the question: Rocks are classified as igneous, metamorphic, or sedimentary according to

Answer1: their color Answer2: their shape Answer3: how they formed Answer4: the minerals they contain

Answer format: answer1/answer2/answer3/answer4
Answer: answer3