#ifndef ATOM_H #define ATOM_H template //Z is the atomic number of the element. class atom { private: int electrons[Z]; int protons[Z]; public: atom() {} static int period() { //which row of the periodic table? int p {1}; for (; Z > 2 * p * p; ++p) { } return p; } }; #endif