Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise#3: Amino Acid Molecular Weight The amino acids in proteins are composed of atoms of oxygen, carbon, nitrogen, sulfur, and hydrogen, as shown below for

image text in transcribed
Exercise#3: Amino Acid Molecular Weight The amino acids in proteins are composed of atoms of oxygen, carbon, nitrogen, sulfur, and hydrogen, as shown below for three proteins. The molecular weight of the individual elements are as follows: Element Atomic weight Amino Acidlolc] 115.9994 117 Nitrogen 14.00674 Hydrogen1.00794 S||Oxygen 4410l 6 lCarbon 12.011 3007 Cysteine 2 Methionine 25 1Sulfur 32.066 25001 Write a program that asks the user to enter the number of atoms of each of the five elements for a protein, then calculates and prints the molecular weight of that protein. Example: If the user enter 2 6 20 15, then the molecular weight is calculated as the following: 215.9994 +6 * 12.011 2 14.00674032.066 15 * 1.00794 - 147.19738 Sample Input Output: Please enter the number of atoms of Oxygen, Carbon, Nitrogen, Sulfur, Hydrogen: 2 6 2 0 15 The molecular weight is 147.197

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How do you add two harmonic motions having different frequencies?

Answered: 1 week ago