Question: Using the following code segment, which best describes the output? for(int outer = 7; outer > 0; outer - = 2) { for(int inner
Using the following code segment, which best describes the output? for(int outer = 7; outer > 0; outer - = 2) { for(int inner = 0; inner < outer; inner+ +) { System.out.print("*"); } System.out.println(); }
Step by Step Solution
3.47 Rating (157 Votes )
There are 3 Steps involved in it
Answer There is a mistake in the code segment you provided ... View full answer
Get step-by-step solutions from verified subject matter experts
