By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,490 Members | 1,489 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,490 IT Pros & Developers. It's quick & easy.

harmonic Series to compute the sum of a harmonic series where n=1000

P: 2
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.
1 Week Ago #1
Share this Question
Share on Google+
2 Replies

P: 103
Follow the posting guidelines and mention what you've done so far for this. Would be happy to help then.
1 Week Ago #2

Expert Mod 5K+
P: 5,320
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.
5 Days Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.