[자바] 정올 105 : 출력 - 형성평가5
public class Main { public static void main(String[] args) { System.out.printf("%15s%15s%15s\n", "Seoul", "10,312,545", "+91,375"); System.out.printf("%15s%15s%15s\n", "Pusan", "3,567,910", "+5,868"); System.out.printf("%15s%15s%15s\n", "Incheon", "2,758,296", "+64,888"); System.out.printf("%15s%15s%15s\n", "Daegu", "2,511,676", "+17,230"); System.out.printf("%15s%15s%15s", "Gwangju", "1,454,636..
[자바] 정올 508 : 출력 - 자가진단8
public class Main { public static void main(String[] args) { System.out.printf("%10s%10s%10s\n","item", "count","price"); System.out.printf("%10s%10s%10s\n","pen","20","100"); System.out.printf("%10s%10s%10s\n","note","5","95"); System.out.printf("%10s%10s%10s","eraser","110","97"); } }