当month 等于6时,下面代码的输出结果是()。 int days = 0; switch (month) { case 2: days = 28; break; case 4: case 6: case 9: case 11: days = 30; break; default: days = 31; break; }
主观题
当month 等于6时,下面代码的输出结果是()。 int days = 0; switch (month) { case 2: days = 28; break; case 4: case 6: case 9: case 11: days = 30; break; default: days = 31; break; }