Question: 5. Using the following code segment, wilich best describes the output? ( 3 points) for (int outer =7; outer >0; outer =2) for ( int
5. Using the following code segment, wilich best describes the output? ( 3 points) for (int outer =7; outer >0; outer =2) for ( int inner =0; inner ) i system.out.print (""); I System.out.printin (); A rectangle with 4 rows and 7 columns of stars A rectangle with 7 rows and 4 columns of stars A square with sides of 28 stars A triangle resting on its base of 7 stars A triangle standing on its point of one star
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
