Writing a code with for loops, help!

I need to write a code that will satisfy the sequence (1/n) + (2/n-1) + ... + (n/1) with an inputted value for n

I know I have to use for loops somehow, I juts do not know how. Any help would be greatly appreciated
Last edited on
What have you written so far?

Hint: a traditional for-loop would work, where you loop from i = 0 to i < n
Topic archived. No new replies allowed.