#include main() { char ch; clrscr(); while(ch!='/') { printf("\nEnter The Day number: "); scanf("%c",&ch); switch (ch) { case '1':printf("\n\tSunday"); break; case '2':printf("\n\tMonday"); break; case '3':printf("\n\tTuesday"); break; case '4':printf("\n\tWednesday"); break; case '5':printf("\n\tThursday"); break; case '6':printf("\n\tFriday"); break; case '7':printf("\n\tSaturday"); break; case '/':break; default:printf("\n\tInvalid day press / to quit"); } } getch(); }