Create a data type Chemi ca1Element for entries in the Periodic Table of Elements. Include data-type values

Question:

Create a data type Chemi ca1Element 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 PeriodicTable that reads values from a file to create an array of Chemica1E7ement objects (you can find the file and a description of its formation on the booksite) and responds to queries on standard input so that a user can type a molecular equation like \(\mathrm{H} 20\) and the program responds by printing the molecular weight. Develop APIs and implementations for each data type.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: