1. Write a program equivalent to C14el.java (a copy of Recursion3 in Fig. 14.5), but implement numbersToOne using a while loop instead of recursion 1 Class Recursion3 3 public static void main(String[ args) 4 5 6 7 8 9 10 numbersToone (10); public static void numbersToOne(int n) if(n>0) 12 13 System.out.println (n); numbersToOne (n1 16 Show transcribed image text 1. Write a program equivalent to C14el.java (a copy of Recursion3 in Fig. 14.5), but implement numbersToOne
OR
OR