#include <stdio.h>
int main()
{
    int days;
    printf ("ENTER THE NUMBER 1 TO 7:\n");
    scanf("%d",&days);
    switch (days) {
        case 01 :printf("SUNDAY");
        break;
        case 02 :printf("MONDAY");
        break;
        case 03 :printf("TUESDAY");
        break;
        case 04 :printf("WEDNESDAY");
        break;
        case 05 :printf("THURSDAY");
        break;
        case 06 :printf("FRIDAY");
        break;
        case 07 :printf("SATURDAY");
        break;
        default: printf("invalid");
    }
        return 0;    
            
    }

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: