#include<stdio.h>
#include<locale.h>
int main(void)
{
int num;
printf("Por favor, digite um número de 1 até 7: \n");
switch(num)
{
break;
case 2: printf("Segunda-feira\n"); break;
case 3: printf("Terça-feira\n"); break;
case 4: printf("Quarta-feira\n"); break;
case 5: printf("Quinta-feira\n"); break;
case 6: printf("Sexta-feira\n"); break;
break;
default: printf("Valor inválido!\n"); }
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8bG9jYWxlLmg+CgppbnQgbWFpbih2b2lkKQp7CiBzZXRsb2NhbGUoTENfQUxMLCJwb3J0dWd1ZXNlIik7CiBpbnQgbnVtOwogCiBwcmludGYoIlBvciBmYXZvciwgZGlnaXRlIHVtIG7Dum1lcm8gZGUgMSBhdMOpIDc6IFxuIik7CiBzY2FuZigiJWQiLCZudW0pOwogCiBzd2l0Y2gobnVtKQogewogIGNhc2UgMTogcHJpbnRmKCJEb21pbmdvXG4iKTsKICAgICAgICAgIGJyZWFrOwogIGNhc2UgMjogcHJpbnRmKCJTZWd1bmRhLWZlaXJhXG4iKTsKICAgICAgICAgIGJyZWFrOwogIGNhc2UgMzogcHJpbnRmKCJUZXLDp2EtZmVpcmFcbiIpOwogICAgICAgICAgYnJlYWs7CiAgY2FzZSA0OiBwcmludGYoIlF1YXJ0YS1mZWlyYVxuIik7CiAgICAgICAgICBicmVhazsKICBjYXNlIDU6IHByaW50ZigiUXVpbnRhLWZlaXJhXG4iKTsKICAgICAgICAgIGJyZWFrOwogIGNhc2UgNjogcHJpbnRmKCJTZXh0YS1mZWlyYVxuIik7CiAgICAgICAgICBicmVhazsKICBjYXNlIDc6IHByaW50ZigiU8OhYmFkb1xuIik7CiAgICAgICAgICBicmVhazsKICBkZWZhdWx0OiBwcmludGYoIlZhbG9yIGludsOhbGlkbyFcbiIpOwogfQogcmV0dXJuIDA7Cn0=