here is my solution for this
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Aththa 1
#define Boru 0
typedef int BOOL;
char* NicNumer;
char* temp;
int year,days,index,WeekDay;
BOOL IsLeap = Boru;
BOOL IsMale = Aththa;
char* Week[] = {"Sunday", "Monday","Tuesday"...