ii) Write EXACTLY what is printed by the code in 2c. iii) Explain in your own words what the code in 2c does step by step. 2 c) int[] n = {3,8,3,4}; //L1 1; i


ii) Write EXACTLY what is printed by the code in 2c.


iii) Explain in your own words what the code in 2c does step by step.


2 c)<br>int[] n =<br>{3,8,3,4};<br>//L1<br>1; i < 3; i++)<br>//L2<br>for(int i<br>{<br>if(n[i]<br>{<br>System.out.println(

Extracted text: 2 c) int[] n = {3,8,3,4}; //L1 1; i < 3;="" i++)="" l2="" for(int="" i="" {="" if(n[i]="" {="" system.out.println("-");="" }="" 3)="" l3="=" l4="" else="" {="" system.out.println(n[i]);="" }="" }="">

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here