Question: 9. (Program) An arithmetic series is defined by the following a +la+d+(a 2d)(a +3da( )d) a is the first term. d is the common difference.
9. (Program) An arithmetic series is defined by the following a +la+d+(a 2d)(a +3da( )d) a is the first term. d is the "common difference." n is the number of terms to be added. Using this information, write a C++ program that uses a while loop to display each term and determine the sum of the arithmetic series having a-1,d-3, and -100. Make sure your program displays the value it has calculated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
