Hi, for this post I made a program which calculates the sum of all the integers from zero to a value specified by the user.

Here an image of the program running:

harsum

Here the code: https://github.com/hrglez/TC1017/blob/master/HarmonicSum

Thanks! Have a nice life.

CC BY 4.0 Harmonic sum of integers by hrglez is licensed under a Creative Commons Attribution 4.0 International License.