[프로그래머스/Java] 2016 - 사좋배 공유 -
*문제 *풀이 import java.util.*; class Solution { public String solution(int a, int b) { String answer = ""; int temp = 5; Scanner sc =new Scanner(System.in); int[] date = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; String seven[] = { "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT" }; for (int i = 0; i < a; i++) { if(i==a-1) { for(int day = 1 ; day