Amino Acid Molecular Weights. The amino acids in proteins are composed of atoms of oxygen, carbon, nitrogen, sulfur, and hydrogen, as shown in Table The molecular weights of the individual elements follow:
Element | Atomic Weight |
Oxygen | 15.9994 |
Carbon | 12.011 |
Nitrogen | 14.00674 |
Sulfur | 32.066 |
Hydrogen | 1.00794 |
Table: Amino Acid Molecules
Write a program that asks the user to enter the number of atoms of each of the five elements for an amino acid. Then compute and print the average weight of the atoms in the amino acid.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.