For example, if N were 5, this function would represent the summation of integers from 0 to 5, which is 15.
Each of the three programs will be run with the upper bounds of the summation entered on the command line.
Thus, if the user enters 8, the summation of the integer values from 0 to 8 will be output.