#include <stdio.h>
int main() {
int day;
printf("\n enter day no you want to know:\n");
scanf("%d",&day);
if(day==1)
printf("\n MONDAY");
else if(day==2)
printf("\n TUESDAY");
else if(day==3)
printf("\n WEDNESDAY");
else if(day==4)
printf("\n THURSDAY");
else if(day==5)
printf("\n FRIDAY");
else if(day==6)
printf("\n SATURDAY");
else if(day==7)
printf("\n SUNDAY");
else
printf("\n WRONG CHOICE");
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: