Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
om using stars
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { for(int i=1;i<=11;i++) { for(int j=1;j<=14;j++) { if((i==1) && ((j==5) || (j==6) || (j==9) || (j==9) || (j==11) || (j==12) || (j==14)) || (i==2) && ((j==4) || (j==7) || (j==10) || (j==13)) || (i==3) && ((j==8) || (j==11) || (j==12)) || (i==4) && ((j==8) || (j==10)) || (i==5) && ((j==7) || (j==9) || (j==11)) || (i==6) && ((j==6) || (j==7) || (j==8) || (j==11)) || (i==7) && ((j==1) || (j==7) || (j==9) || (j==10)) || (i==8) && ((j==2) || (j==8)) || (i==9) && ((j==3) || (j==8)) || (i==10) && ((j==4) || (j==7)) || (i==11) && ((j==5) || (j==6))) { System.out.print("* "); } else{ System.out.print(" "); } } System.out.println(); } } }
run
|
edit
|
history
|
help
0
DecoratedFrame.java
Fmt test
evenloop
Compiler
OBF-7 PR
name
java
doubt
[a-zA-Z ]{0,12}
Print Count Strings