I need to write a program to find the sum, sum of squares, sum of the cubes, and sum of a certain series shown below for the first n integers, begining with 1 and ending with n = 100.
Since all of these series involve summing the same number of terms, do all of the summing inside ONE(1) loop. Compute the formats outside the loop. Use n as a variable in the formulas; do not replace it with 100, because the formulas work for any n and the program should be flexible enough to easily change the number of terms.