ÀÛ¼ºÀÏ : 15-05-08 11:51
¼±ÅÃÁ¦¾î¹® Çü¼ºÆò°¡ 5¹ø ·±Å¸ÀÓ ¿¡·¯ ¶ß´Âµ¥ Á»ºÁÁÖ¼¼¿ä
|
|
±Û¾´ÀÌ :
À̽±â(lksgfj93)
Á¶È¸ : 4,661
|
#include<stdio.h> int main() { int a; scanf("%d",&a); switch(a) { 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; }
|
|