Calender program in C to find day based on given year,month and date