Answers

2014-04-22T12:06:33+05:30
For (int i = 1; i <= 6; i++) {
        for (int j = 6 - i; j >= 1; j--)
        System.out.print("   ");
         for (int j = i; j >= 1; j--)
        System.out.print(j + " ");
        System.out.println();
        }
System.out.println();

this is the logic 
0