Which is a compound sentence?

 - Later the sailors will wash the deck of the ship.
 - The sun came out, and the clouds in the sky disappeared.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction and.
The sun came out, and the clouds in the sky disappeared.