Write a program to input values for x and n and print the sum of following
series:
x+ x? /2 - x /3+ xª /4 + . x"/n.
Answers
Answered by
0
Answer:
729×64
=3×3×3×3×3×3×2×2×2×2×2×2
=3
6
×2
6
6KKKW-R963D-H7R4**
Answered by
1
Explanation:
Given an integer X, the task is to print the series and find the sum of the series
1 + x^{1} + x^{2} + x^{3} + x^{4} ... x^{N}
Examples :
Input: X = 2, N = 5
Output: Sum = 31
1 2 4 8 16
Input: X = 1, N = 10
Output: Sum = 10
1 1 1 1 1 1 1 1 1 1
Similar questions