int a = 6;
int b = 88;
String s = "νλ";
System.out.println(a + b + s);
System.out.println(" ");
System.out.println(a + b + s);
System.out.println(a + b + s);
System.out.println("\t");
System.out.println(a + b + s);
System.out.println("\n");
System.out.println(a + b + s);
//μ μ©μλ¨ System.out.println( "%d * %d = %2d", a, b, (a*b));
π κ²°κ³Ό
94νλ
94νλ
94νλ
94νλ
94νλ
int a = 6;
int b = 88;
String s = "νλ";
System.out.print(a + b + s);
System.out.print(" ");
System.out.print(a + b + s);
System.out.print(a + b + s);
System.out.print("\t");
System.out.print(a + b + s);
System.out.print("\n");
System.out.print(a + b + s);
//μ μ©μλ¨ System.out.print( "%d * %d = %2d", a, b, (a*b));
π κ²°κ³Ό
94νλ 94νλ94νλ 94νλ
94νλ
int a = 6;
int b = 88;
String s = "νλ";
System.out.printf(a + b + s);
System.out.printf(a + b + s);
System.out.printf(a + b + s);
System.out.printf("\t");
System.out.printf(a + b + s);
System.out.printf("\n");
System.out.printf(a + b + s);
System.out.printf(" ");
System.out.printf( "%d * %d = %2d", a, b, (a*b));
π κ²°κ³Ό
94νλ94νλ94νλ 94νλ
94νλ 6 * 88 = 528