07/11/02 22:50:41
>>757-761
お前らそんな一気に言ったら>>755が可哀想だろw
>>755
これを参考に。
#include<stdio.h>
const char *eto[] = {"申年","酉年","戌年","亥年","子年","丑年","寅年","卯年","辰年","巳年","午年","未年"}
int main(){
int year;
printf("西暦・・・");
scanf("%d", &year);
printf("%d年は%s",year, eto[year%12]);
return 0;
}