Chemical elements. Create a data type Chemical Element for entries in the Periodic Table of Elements. Include data-type values for element, atomic number, symbol, and atomic weight, and accessor methods for each of these values. Then create a data type Periodic Table that reads values from a file to create an array of Chemical Element objects (you can find the file and a description of its formation on the book site) and responds to queries on standard input so that a user can type a molecular equation like H2O and the program responds by printing the molecular weight. Develop APIs and implementations for each data type.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here