Thread
:
A little lost with for loops and making a design
View Single Post
#
2
(
permalink
)
01-21-2008, 09:19 PM
hardwired
Senior Member
Join Date: Jul 2007
Posts: 1,222
Code:
int n = 5; for(int j = 0; j < n; j++) System.out.print("*"); System.out.println();
You just have to play around with print statements and loops. Imagination and play are the keys to this kind of discovery/exploration.
hardwired
View Public Profile
Send a private message to hardwired
Find all posts by hardwired