#include <stdio.h>
int main(void) {
int y = 0;
printf("Digite seu ano de nascimento (quatro digitos)\n"); if (y > 9999 || y < 1000) {
} else {
int b = y % 100;
int a = y / 100;
int c = a + b;
c %= 5;
switch (c) {
case 0: printf("Tímido\n"); break; case 1: printf("Sonhador\n"); break; case 2: printf("Paquerador\n"); break; case 3: printf("Atraente\n"); break; case 4: printf("Irresistível\n"); break; }
}
}
//https://pt.stackoverflow.com/q/195129/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgeSA9IDA7CiAgICBwcmludGYoIkRpZ2l0ZSBzZXUgYW5vIGRlIG5hc2NpbWVudG8gKHF1YXRybyBkaWdpdG9zKVxuIik7CiAgICBzY2FuZigiJWQiLCAmeSk7CiAgICBpZiAoeSA+IDk5OTkgfHwgeSA8IDEwMDApIHsgCiAgICAJcHJpbnRmKCJBbm8gaW52w6FsaWRvIik7CiAgICB9IGVsc2UgewogICAgICAgIGludCBiID0geSAlIDEwMDsKICAgICAgICBpbnQgYSA9IHkgLyAxMDA7CiAgICAgICAgaW50IGMgPSBhICsgYjsKICAgICAgICBjICU9IDU7CiAgICAgICAgc3dpdGNoIChjKSB7CiAgICAgICAgICAgIGNhc2UgMDogcHJpbnRmKCJUw61taWRvXG4iKTsgYnJlYWs7CiAgICAgICAgICAgIGNhc2UgMTogcHJpbnRmKCJTb25oYWRvclxuIik7IGJyZWFrOwogICAgICAgICAgICBjYXNlIDI6IHByaW50ZigiUGFxdWVyYWRvclxuIik7IGJyZWFrOwogICAgICAgICAgICBjYXNlIDM6IHByaW50ZigiQXRyYWVudGVcbiIpOyBicmVhazsKICAgICAgICAgICAgY2FzZSA0OiBwcmludGYoIklycmVzaXN0w612ZWxcbiIpOyBicmVhazsKICAgICAgICB9CiAgICB9Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzE5NTEyOS8xMDE=