I want to create a program that does the electronic distribution according to the Pauling diagram. Before I begin, I have a question:
How can I limit in PHP how many ele- ments each sub-level can have?
Example: Sub-level "s" the maximum of electrons is 2 (But may have less than that), sub-level "p" the maximum number of electrons is 6 (But may have less than that) >
How can I make this limit?