1.

Double SERIES (int N) S=2-4+6-8.....N

Answer»

tion:This is a mathematical series program where a user MUST enter the number of terms up to which the sum of the series is to be found. FOLLOWING this, we also NEED the value of x, which forms the base of the series.Examples:Input : x = 9, N = 10Output : -5.1463Input : x = 5, n = 15Output : 0.2837



Discussion

No Comment Found