I think this is what are you looking for:
System.out.println("\t 1\n\t 2 2\n\t3 3\n\t 2 2\n\t 1 ");
4
solved Pyramid pattern using java with number
I think this is what are you looking for:
System.out.println("\t 1\n\t 2 2\n\t3 3\n\t 2 2\n\t 1 ");
4
solved Pyramid pattern using java with number