Rewrite the code using "while Loop" instead of "for Loop". Output must remain the same.
CODE:
import java.util.*;public class main { public static void main(String[] args) { int[] numbers = new int[10];
for(int i=0; i < numbers.length;=""> numbers[i] = i * 3;
for(int i=0; i < numbers.length;=""> System.out.print(numbers[i] / 3 + " "); System.out.println();}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here