Computer Science, asked by ddsingh2003, 1 year ago

s=1+2^2/a+3^3/a^2+...................to n terms in java

Answers

Answered by Akshat1417
0

Answer:

psvm( int a ,int n)

{

int x ,y ,s=0,t=0,int i

for (x=0;x<=n;x++)

{

for (y=0;y<=n;y++)

{

for (i=0;i<=n;i++)

}

t=Math.pow(x,i)/a;

}

s=s+t;

Sopln(s);

}

Similar questions