contestada

Which sentence is correctly punctuated?
A.
He turned around and yelled, "Get the fire extinguisher before the flames spread!"
B.
He turned around and yelled, "Get the fire extinguisher before the flames spread"!
C.
He turned around and yelled, "Get the fire extinguisher before the flames spread."!
D.
He turned around and yelled, "Get the fire extinguisher before the flames spread!".