Browse Source

Added descriptions for all zodiac signs

main
fdlt3859 2 years ago
parent
commit
3c12ee4af8
  1. 111
      src/main/quizproject.c

111
src/main/quizproject.c

@ -2221,27 +2221,138 @@ void v_horoscope(int day, int month){
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 4 && day >= 20) || (month == 5 && day <= 20)) {
char horo;
printf("Your horoscope is Taurus.\n");
printf("Do you want to know more about Taurus personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Taureans aren't afraid to roll up their sleeves \nand work hard to earn big rewards. \nThey're ambitious, focused, and resilient and they feel most secure \nwhen steadily putting money into a savings account.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 5 && day >= 21) || (month == 6 && day <= 20)) {
char horo;
printf("Your horoscope is Gemini.\n");
printf("Do you want to know more about Gemini personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Playful and intellectually curious, Gemini is constantly juggling a variety of passions, \nhobbies, careers, and friend groups. \nThey are the social butterflies of the zodiac: \nThese quick-witted twins can talk to anyone about anything. \nFind them buzzing between happy hours, dinner parties, and dance floors.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 6 && day >= 21) || (month == 7 && day <= 22)) {
char horo;
printf("Your horoscope is Cancer.\n");
printf("Do you want to know more about Cancer personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Cancer is the fourth sign of the zodiac and is represented by the Crab. \nThey're primarily known for being emotional, nurturing, and highly intuitive, \nas well as sensitive and at times insecure\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 7 && day >= 23) || (month == 8 && day <= 22)) {
char horo;
printf("Your horoscope is Leo.\n");
printf("Do you want to know more about Leo personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Typical sun in Leo traits include being confident, comfortable being the center of attention, \ndrama-adoring, ambitious, loyal, fiercely protective of their nearest and dearest, \ngenerous, luxury-loving, sunny, and big-hearted.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 8 && day >= 23) || (month == 9 && day <= 22)) {
char horo;
printf("Your horoscope is Virgo.\n");
printf("Do you want to know more about Virgo personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Virgos are logical, practical, and systematic in their approach to life. \nThis earth sign is a perfectionist at heart and isn't afraid to improve skills through diligent and consistent practice.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 9 && day >= 23) || (month == 10 && day <= 22)) {
char horo;
printf("Your horoscope is Libra.\n");
printf("Do you want to know more about Libra personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Libras are extremely agreeable and honest people \nwho believe strongly in the importance of social connections. \nLibras are among the most fascinating and intelligent individuals on the planet, \nand they have a lot to give.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 10 && day >= 23) || (month == 11 && day <= 21)) {
char horo;
printf("Your horoscope is Scorpio.\n");
printf("Do you want to know more about Scorpio personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Scorpios are known for their loyalty and devotion — and also their passion. \nIn fact, they are known to have such intense personalities that they are often confused with vibrant fire signs. \nAlas, they just have deep feelings and emotions.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 11 && day >= 22) || (month == 12 && day <= 21)) {
char horo;
printf("Your horoscope is Sagittarius.\n");
printf("Do you want to know more about Sagittarius personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Represented by the archer (a half-man, half-horse centaur), \nSagittarius isn't afraid to use its bow and arrow to explore expansive terrain, \nseeking answers in places and spaces others wouldn't dare venture.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 12 && day >= 22) || (month == 1 && day <= 19)) {
char horo;
printf("Your horoscope is Capricorn.\n");
printf("Do you want to know more about Capricorn personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Capricorns are overachievers, persistent, practical, and sensitive. \nThey're known for their hardworking habits, and they're overachievers who make success look effortless \n— even though they put a lot of time and care into their careers and relationships.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 1 && day >= 20) || (month == 2 && day <= 18)) {
char horo;
printf("Your horoscope is Aquarius.\n");
printf("Do you want to know more about Aquarius personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Aquarius is actually the final air sign, which means it deals with air-related concepts from a macro-perspective. \nOf all the zodiac signs, Aquarius is undoubtedly the most innovative, progressive, rebellious, and humanitarian.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else if ((month == 2 && day >= 19) || (month == 3 && day <= 20)) {
char horo;
printf("Your horoscope is Pisces.\n");
printf("Do you want to know more about Pisces personalities?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("Pisces people are known for being emotionally sensitive, gracious, and emotionally aware. \nPisces characters are regarded for being among the most sympathetic of the zodiac signs, \nand they will go to great lengths to ensure the happiness of those around them. \nThey're also creative and imaginative.\n");
}else{
printf("Okay no worries! But you missed the fun!");
}
} else {
printf("Invalid birth date.\n");
}

Loading…
Cancel
Save