Using a set of nested for-loops, write a c++ program.

Using a set of nested for-loops, Write a c++ program. to print a neatley labeled and formatted table of the wavelengths of the first 10 spectral lines for first six sereis of hydrogen.

I have allready done allot of the work im just stuck and confused with the nested loops and how to dispaly the data.

 

 

the Rydberg formula is used to calculate the wavelength. and the table of spetral lines below it