Basic code of c++

I have the txt file in which the values of binding energies corresponding to different atomic and mass number is given.I have to find the value of maximum binding energy corresponding to particular value of mass number
mass_2021.txt (123.0 KB)

You can probably find this on Google. Seems like all you need to do is to read the data in your text file and put them in arrays. Then you could apply the formula for the maximum binding energy to the elements in your arrays.

That is just one way to go about it, by the way.

maximum binding energy is already given in the file corresponding to different mass numbers.Need is to find that maximum value by coding

PLease help me with the code

And as reminder, in Tips for Efficient and Successful Posting :

  1. Don’t ask people to do all your work for you. It is especially discouraged to request completed Tests, Quizzes, and Assignments, or graded work.