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

ex.
Print num between 1-15: 1
1/2=0.5
im kinda stuck on this program , im not sure about the formula to use can someone help?
thanxxxxx

Recommended Answers

All 2 Replies

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.