(Program) a. Write a C++ program to calculate the sum of the numbers from 1 to 100. The formula for calculating this sum is sum = (n / 2) x (2 x a + (n - 1) x d), where n = number of terms to be added, a = the first number, and d = the difference between each number and the next number (d = 1).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.