Ich soll bei folgender Aufgabe (siehe Screenshots) das Programm analog zum rekursiven Programm auf der Folie, iterativ darstellen mit einer while Schleife. wie mache ich das bitte?
Java:
public static void main (String[] args){
}
void nimmMassivePuppe(//Puppe M){
while(//M ist massiv) {
nimm M;
}
}
}