The atomic number of chlorine is 17. What is the number of electrons in a…