Programming exercise 1

Phase 1

Implement this API. Include javadoc. Generate the API and compare it with the given one.

Phase 2

Write an app named MassClient, which is part of package pex01, that prompts the user for the atomic mass and prints the mass of one atom.

Here is a sample run:

Enter the atomic mass: 55.847
The mass of one atom is 9.27228955669932E-23
Here is another sample run:
Enter the atomic mass: 208.988
The mass of one atom is 3.469832309480326E-22

Phase 3

Submit your classes Mass and MassClient electronically before the deadline of this programming exercise using the submit command:

submit 1030 PEx01 pex01
You may submit your solution more than once. Additional documentation about the submit command can be viewed by typing man submit.