Students, please be sure to log in. This site does not use cookies and cannot store work submitted when not signed in.

Unit 4 Problems

nestedFor3
Alter the conditions of the for-loops so that it builds a String as shown below.

Note that when you're building a String, you can concatenate "\n" to insert new lines in your final String. this is what you see here. 

A call to nestedFor() results in

*
**
***
****

Type your solution        
Skills Practiced:
3.C
4.A
4.B
Copyright © StudyCS 2024 All rights reserved.