#include #include using namespace std; int main( ) { double oxy, carb, nitr, sulf, hydro, weight; int noxy, ncarb, nnitr, nsulf, nhydro; oxy = 15.9994; carb = 12.011; nitr = 14.00674; sulf = 32.066; hydro = 1.00794; cout <<"Enter the number of oxygen:"; cin >> noxy; cout <<"Enter the number of carbon:"; cin >> ncarb; cout <<"Enter the number of nitrogen:"; cin >> nnitr; cout <<"Enter the number of sulfur:"; cin >> nsulf; cout <<"Enter the number of hydrogen:"; cin >> nhydro; weight = noxy * oxy + ncarb * carb + nnitr * nitr + nsulf * sulf + nhydro * hydro; cout <<"the molecular weight for this amino acid is: " << weight << endl; return 0; }