Question 6 Not yet answered Points out of 10.00 F Flag question Given the following program, convert the iterative versi
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 6 Not yet answered Points out of 10.00 F Flag question Given the following program, convert the iterative versi
Question 6 Not yet answered Points out of 10.00 F Flag question Given the following program, convert the iterative version of the method m1 into the recursive version public class Test ( public static void main(String[] args) { int[] a = (10, 20, 30, 40, 50); m1(5); public static void m1(int n) { while (n>= 1) { System.out.println(n); n=n-1;