public class recursion{
public static void Fibbo(int[] von,int n){
if(n==von.length){
return;
}
if(von[n]==11){
System.out.println(n);
}
Fibbo(von, (n++));
}
public static void main(String[] args){
int[]von= {11,12,13,11,90};
int n=0;
Fibbo( von, n);
}
}
0 Comments