Which sentence is correctly punctuated?
-
A
The cat slept on the sofa, while the dog played in the yard.
-
B
The cat slept on the sofa while, the dog played in the yard.
-
C
The cat, slept on the sofa while the dog played in the yard.
-
D
The cat slept, on the sofa while the dog played in the yard.