Which of the following sentences is a third conditional?
A.If it doesn’t rain, plants cannot grow.
B.If Steve buys a car, he will drive us to school.
C.If his mother were here, that little boy wouldn’t do that.
D.If you had taken a map with you, you wouldn’t have got lost.