One way to help you think about assignments like this is by using a piece of paper and a pencil. Draw this out by hand, labeling stars and spaces with numbers. Do you see a pattern?
Hint: you can...
Type: Posts; User: KevinWorkman
One way to help you think about assignments like this is by using a piece of paper and a pencil. Draw this out by hand, labeling stars and spaces with numbers. Do you see a pattern?
Hint: you can...
Recommended reading: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
I'm not sure exactly what you're confused about. Could you provide an example SSCCE that...