#include <stdio.h> int main(void) { int num; scanf( "%d", &num); switch(num) { case 1: printf("31"); break; case 2: printf("28"); break; case 3: printf("31"); break; case 4: printf("30"); break; case 5: printf("31"); break; case 6: printf("30"); break; case 7: printf("31"); break; case 8: printf("31"); break; case 9: printf("30"); break; case 10: printf("31"); break; case 11: printf("30"); break; case 12: printf("31"); break; } return 0; }
2018.08.25 12:33
124 : 선택제어문 - 형성평가5
조회 수 166 추천 수 0 댓글 0