case 4 : printf("%u\n",JulianMonthDays(readshortcardmonth(),readintyear()));
break;
case 5 : printf("%u\n",GregorianMonthDays(readshortcardmonth(),readintyear()));
break;
case 6 : printf("%u\n",HeisMonthDays(readshortcardmonth(),readintyear()));
break;
case 7 : printf("%u\n",JulianYearDays(readintyear()));
break;
case 8 : printf("%u\n",GregorianYearDays(readintyear()));
break;
case 9 : printf("%u\n",HeisYearDays(readintyear()));
break;
case 10 : printf("%d\n",JulianDayDiff(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()));
break;
case 11 : printf("%d\n",GregorianDayDiff(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()));
break;
case 12 : printf("%d\n",HeisDayDiff(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()));
break;
case 13 : if (JulianDaySmaller(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()))
printf("TRUE\n");
else
printf("FALSE\n");
break;
case 14 : if (GregorianDaySmaller(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()))
printf("TRUE\n");
else
printf("FALSE\n");
break;
case 15 : if (HeisDaySmaller(readshortcardday(),readshortcardmonth(),readintyear(),readshortcardday(),readshortcardmonth(),readintyear()))
printf("TRUE\n");
else
printf("FALSE\n");
break;
case 16 : wd = JulianWeekday(readshortcardday(),readshortcardmonth(),readintyear());
switch (wd)
{case dayerr : printf("dayerr!\n");
break;
case monday : printf("monday\n");
break;
case tuesday : printf("tuesday\n");
break;
case wednesday : printf("wednesday\n");
break;
case thursday : printf("thursday\n");
break;
case freiday : printf("freiday\n");
break;
case saturday : printf("saturday\n");
break;
case sunday : printf("sunday\n");
break;
default : printf("Illegal Code!\n");
}
break;
case 17 : wd = GregorianWeekday(readshortcardday(),readshortcardmonth(),readintyear());