else
{
r=Power(s,n-1);
System.out.println(r);
int d=r.length;
char ch=s.charAt(n);
int v=d+1;
p[v]=Character.toString(ch);
String q = p[v];
for(i=d+2,j=0;i<2d+3,j<d;i++,j++)
{
p[i]=r[j].concat(q);
}
}
A syntax error is shown and var j is not recognized even after declaration... pls help me.
j; Just place anint j;before theforloopiseems to not have been declared either. you might need to changei=d+2toint i=d+2