#include<stdio.h>
int main(){
    int n=6;
    if (n==1){
        printf("Monday");
    }
    else if (n==2){
        printf("Tuesday");
    }
    else if (n==3){
        printf("Wednesday");
    }
    else if(n==4){
        printf("Thuesday");
    }
    else if (n==5){
        printf("Friday");
    }
    else if (n==6){
        printf("Saturday");
    }
    else if (n==7){
        printf("Sunday");
    }
}

Embed on website

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