Question: Java 1. How many iterations are done (meaning how many times the loop body is executed) in this loop (assume n is a given integer):
Java
1. How many iterations are done (meaning how many times the loop body is executed) in this loop (assume n is a given integer): int i=0; while( i <= n) { System.out.println(i); i++; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
