public static void triangle1(String s) {
		char c[] = s.toCharArray();
		for (int i = 0; i < c.length; i++) {
			System.out.println();
			for (int j = 0; j <= i; j++) {
				System.out.print(c[j]);
			}
		}
	}