Please choose the correct answer to the question: Typically, sedimentary rocks are formed

Answer1: only in erupting volcanoes. Answer2: only under great pressure and high temperatures. Answer3: below Earth's surface as magma cools and crystallizes. Answer4: from materials that settle.

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