Tai Yo wrote:I should avoid periodic table loaded from file or database.
Sounds like an assignment.
Is there another way to solve it, for example, mapping or ?
You could type in a map of the whole periodic table, but that would be a pain. If this is an assignment, do they really want you to do all that busy work? If not, loading a map from a file would be an intermediate step, and a database like SQLite would be the best solution.
All things are lawful, but not all things are profitable.