What type of rock is formed due to the compacting and cementing of layers of debris?

Group of answer choices

Eroded rock

Igneous rock

Metamorphic rock

Sedimentary rock

1 answer

Sedimentary rock