Computer Science, asked by sindhujapa67, 3 months ago

Gp programm in c language

Answers

Answered by ak0207986
1

Answer:

In this program, we are reading the first term of the G.P. series using 'a' variable and the total numbers in the G.P. Series using 'n' variable and the common ratio of G.P series using 'r' variable. Tn = (a *(1-pow(r, n +1)))/ (1- r).

Answered by nikitamankar61
1

In this program, we are reading the first term of the G.P. series using 'a' variable and the total numbers in the G.P. Series using 'n' variable and the common ratio of G.P series using 'r' variable. Tn = (a *(1-pow(r, n +1)))/ (1- r).

Similar questions