I'm in need of some assistance with my homework problem.
The problem is at follows:
[italic]Define a structure type element_t to represent one elemtn from the periodic table of elements. Compounds should include the atomic number(an integer); the name, chemical symbol, and class(strings); a numeric field for atomic weight; and a seven-element array of integers for the number of electrons in each shell. The following are the components of element_t structure for sodium.
11 Sodium NA alkali_metal 22.9898 2 8 1 0 0 0 0 [/italic]
This is what I have so far:
Any help in completing the program would be much appreciated.