Reviews

User reviews

User Review - Flag as inappropriate

An arithmetic series is defined by the following:
a + (a + d) + (a + 2d) + (a + 3d) + ... + [a + (n - 1)d]
a is the first term
d is the common difference
n is the number of term 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.Make sure your program gets the value of a, d, and n from the user.
 

All reviews - 1
5 stars - 0
4 stars - 0
3 stars - 0
2 stars - 0
1 star - 0

All reviews - 1
Editorial reviews - 0

All reviews - 1