Saturday, 14 November 2020

.Write a program to input the value of x and n and print the sum of the series: 1+x+x^2+x^3+x^4+ ............x^n

 PROGRAM:










INPUT & OUTPUT:



No comments:

Post a Comment