hello..
i have a problem in a calender coding..for creating a function for the odd days in a month,,a book has specified the following syntax..
odddaymonth(int mm, char leapyear)
{
switch(mm)
{
case 1:
return 0;
case 2:
return 3;
case 3:
case 11:
return leapyear?4:3;
case 4:
case 7:
return leapyear?0:6;...