public static int triangleBsum1(int x[][]) {
		int sum = 0;
		for (int i = 0; i < x.length; i++) {
			System.out.println();
			for (int j = 0; j < x[i].length; j++) {
				if (i >= j) {
					System.out.print(x[i][j] + " ");
					sum = sum + x[i][j];
				}
			}
		}
		System.out.println();
		return sum;
	}