Which sentence uses ONLY the indicative mood?

A.
How did these areas develop?

B.
If they were to be happy, they would need houses and apartments.

C.
He knew that if he could find an efficient way to mass-produce houses, he could keep the cost of each home low and affordable for ex-soldiers with little money to spare.

D.
Their strategy worked.

D. Their strategy worked.