#include
void day_name(int n)
{
static char name[7][20]={ "MONDAY", "TUESDAY", "WENDESDAY", "THURSDAY", "FRIDAY", "SATUIDAY", "SUNDAY", };
char *p;
p=name[n-1];
printf("%s",p);
return ;
}
int main()
{
int n;
char a;
printf("ENTER N");
scanf("%d",&n);
day_name(n);
}