Based on the statement below, what is the output? int num=5; while (num != 0) { for (int aa=1; aa > 2iaa--) { System.out.print(num); } num--; Select one: a. It will display 12 3 4 5 O b. It will not...


hello i have this question in java can you help me answer it


Based on the statement below, what is the output?<br>int num=5;<br>while (num != 0)<br>{<br>for (int aa=1; aa > 2iaa--)<br>{<br>System.out.print(num);<br>}<br>num--;<br>Select one:<br>a. It will display 12 3 4 5<br>O b. It will not display anything<br>O c. It will not display anything because there is an error<br>O d. It will display 5 forever<br>

Extracted text: Based on the statement below, what is the output? int num=5; while (num != 0) { for (int aa=1; aa > 2iaa--) { System.out.print(num); } num--; Select one: a. It will display 12 3 4 5 O b. It will not display anything O c. It will not display anything because there is an error O d. It will display 5 forever

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here