The Question : How many times the loop will execute? for (int number = 5; number >= 1; number = number-1) { System.out.print(“Square of ” + number); System.out.println(” = ” + number*number); }
Solution for the question :
5 times the loop will execute.
The correct answer to the question is researched by our moderators and shared with you. You can give feedback by commenting for the answers you think are wrong.