Need to print pattern in java

Printable View