10 lines
231 B
Java
10 lines
231 B
Java
public class Grille{
|
|
public static void main(String[] args) {
|
|
System.out.println("+-+-+");
|
|
int a = Integer.parseInt(args[0]);
|
|
for (int i=0; i< a; i++){
|
|
System.out.println("| | |");
|
|
System.out.println("+-+-+");
|
|
}
|
|
}
|
|
} |