Answer :
From periodic table carbon have six electrons nitrogen has seven electrons while oxygen has eight electrons. it s electronic configuration for carbon is 2.4, for nitrogen is 2.5 while that for oxygen is 2.6. Their dot diagram are as follows


