Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. interface a{static void main(String[]A){if(A[0].equals("1")&A[1].equals("1")){System.out.print('o');return;}int b=Byte.valueOf(A[0]),B=Byte.valueOf(A[1]),C;String c="";for(C=3+b*2;C-->0;)c+="_";for(;B-->0;c+=" |\r")for(C=b,c+="\n|";C-->0;)c+=" o";for(C=3+b*2;C-->0;)c+="-";System.out.print(c);}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement