diff --git a/src/main/quizproject.c b/src/main/quizproject.c index d91cc20..902b104 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -2209,7 +2209,17 @@ void v_play_rockpapersciss(){ void v_horoscope(int day, int month){ if ((month == 3 && day >= 21) || (month == 4 && day <= 19)) { + char horo; printf("Your horoscope is Aries.\n"); + printf("Do you want to know more about Aries personalities?\n"); + printf("Your Answer(Y/N): "); + scanf(" %c", &horo); + horo = toupper(horo); + if (horo == 'Y'){ + printf("Like their fellow fire signs, Leo and Sagittarius, \nAries is a passionate, motivated, and confident leader who builds community with their cheerful disposition \nand relentless determination. \nUncomplicated and direct in their approach, they often get frustrated by exhaustive details and unnecessary nuances.\n"); + }else{ + printf("Okay no worries! But you missed the fun!"); + } } else if ((month == 4 && day >= 20) || (month == 5 && day <= 20)) { printf("Your horoscope is Taurus.\n"); } else if ((month == 5 && day >= 21) || (month == 6 && day <= 20)) {