Which sentence has no errors in the use of capital letters?

A.
"Stay away from the edge," yelled the security officer, "or you might fall onto the tracks."


B.
"Stay away from the edge," yelled the security officer, "Or you might fall onto the tracks."


C.
"stay away from the edge," yelled the security officer, "or you might fall onto the tracks."


D.
"Stay away from the edge," Yelled the security officer, "or you might fall onto the tracks."