[Level 1][C++] 2016년
#include #include #include using namespace std;void inputDate(int& a, int& b){ while (1) { try { cout > a; if (a 12) throw 0; cout > b; if (b 31) throw 0; break; } catch (int expn) { cout month = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31,..