Question: 2. Change the following Java for loop to a Java while loop. for (int num=10; num>=1; num-=2) System.out.println( num )
2. Change the following Java for loop to a Java while loop. for (int num=10; num>=1; num-=2) System.out.println( num )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
