I have to write a program that can calculate the atomic weight. I already solve the first and last part of the question where I should load the file\'s content and use it as