Hi everyone, i have a question and i need advises from u all...
QUESTION: Write an algorithms for the sum of series, 1+1/2+1/3+1/4+...+1/n, where n is entered by users..
Can someone help me to write this program ???
You learn more by doing.
One loop. Each iteration adds one term to the sum.
Pretty simple pattern. Use a for loop from 1 to n.