Skip to content

Instantly share code, notes, and snippets.

@coolsasindu
Last active March 25, 2021 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolsasindu/c11e19ddb36cf9f1c458dfb5db357d24 to your computer and use it in GitHub Desktop.
Save coolsasindu/c11e19ddb36cf9f1c458dfb5db357d24 to your computer and use it in GitHub Desktop.
public class Art3{
public static void main(String args[]){
/* 00000
00000
00000
00000
00000 */
int y = 0;
while(y<5){
int x = 0;
while( x <5 ){
System.out.print("0");
x++;
}
System.out.println(" "); // print replace to println
y++;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment