i need help on a program that uses zenos series
which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive).
program should print n terms of the series seperated by + and followed = sign < followed by value of the sum

Print num between 1-15: 1
im kinda stuck on this program , im not sure about the formula to use can someone help?

We can't see the problem until we see what you've tried. Just telling you the answer wouldn't do any good, of course.

hint: use floats, not ints as variable types.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.