Код: Выделить всё
int nthTermOfGP(int N, int A, int R) {
if(N==1)
{
return A;
}
if(N
Подробнее здесь: [url]https://stackoverflow.com/questions/78728078/c-code-recursion-problem-to-find-nth-term-in-geometric-serie[/url]
Код: Выделить всё
int nthTermOfGP(int N, int A, int R) {
if(N==1)
{
return A;
}
if(N
Подробнее здесь: [url]https://stackoverflow.com/questions/78728078/c-code-recursion-problem-to-find-nth-term-in-geometric-serie[/url]