Which of the following formulas is used to calculate the cubic footage of an attic with a gable roof?
A) V = lwh
B) V = πr²h
C) V = (1/3)πr²h
D) V = (1/2)lwh