#making a square with * but with extra weird steps
7 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @haughty salmon! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
The current code I have for the 2nd problem is
class Testing { public static void main(String[] args) { System.out.println(); /*draw a 5x5 square. The print operator is like println, but doesnt go to the new line after it prints*/ int size = 5; for( int i = 5; i < 6; i++) { for(int j = 2; j< 6; j++){ System.out.println("*"); } // System.out.println(); } } }
it prints out
*
*