how to write a harmonic series to compute the sum of a harmonic series 1+1/2+1/3+1/4+1/n,where n=1000.The program shall prompt the user for the value of n.Keep the sum in a double variable and take note that 1/2 gives 0 but 1.0/2 gives o.5.
as dev7060 already mentioned - you need to show what you have done so far and ask specific questions where you have problems with. Show some effort and people will help you - but simply asking for someone doing all the work for you wont get you far - not in this forum and not in a professional life.