In which type of essay would you expect to find the following passage?

The school did not have a place for students to perform plays, so the principal decided to use school funds to build a theater.

A: cause and effect


B: compare and contrast


C: problem and solution