#include<stdio.h>
void main()
{
int choice;
printf("choose a number from 1 to 7:");
scanf("%d",&choice);
switch(choice)
{
case 1: printf("sunday");
break;
case 2: printf("monday");
break;
case 3: printf("tuesday");
break;
case 4: printf("wednesday");
break;
case 5: printf("thrusday");
break;
case 6: printf("friday");
break;
case 7: printf("saturday");
break;
default: printf("wrong choice");
}
}


wow! sir what a great logic. Thank you for guiding us
nice sir