#include<stdio.h>
int main (){
    int week =3;
    switch(week){
        case 1:
        printf("Monday");
        break;
        case 2:
        printf("Tuesday");
        break;
        case 3 :
        printf("wednesday");
        break;
        case 4 :
        printf("Thursday");
        break;
        case 5 :
        printf("Friday");
        break;
        case 6 :
        printf("Saturday");
        break;
        case 7 :
        printf("Sunday");
        break;
        default: 
        printf("Invalid input! Please enter week number between 1-7.");
    }
    
}

Embed on website

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