You have been hired by the world famous celebrity astrologer Terry Nazon to help her create a program

general article writing

Description

You have been hired by the world famous celebrity astrologer Terry Nazon to help her create a program. Given a person’s birth date (day and month) the program will figure out a person’s horoscope sign. She requested that this initial program prompts the user for a number of persons. For each person, the program needs to automatically generate day and month of birth and display the corresponding horoscope sign. The program needs to prompt the user if they want to go again, and repeats the process until the user says that s/he is done. (Hint: use random number generator function to generate day and month for each person) The horoscope signs and dates are: Dates Sign December 22 – January 19 Capricorn January 20 – February 18 aquarius February 19 – March 20 pisces March 21 – April 19 aries April 20 – May 20 taurus May 21 – Jun 21 Gemini Jun 22 – July 22 Cancer July 23 – August 22 Leo Aug 23 – September 22 Virgo September 23 – October 22 Libra October 23- November 21 Scorpio November 22 – December 21 Sagittarius The output should look something like this: Enter number of persons: 10 Born on Horoscope Sign --------------------------------------------------- 7/3 Cancer 7/13 Cancer 7/20 Cancer 1/21 Aquarius 7/1 Cancer 3/7 Pisces 10/11 Libra 12/20 Sagittarius 12/7 Sagittarius 2/4 Aquarius Would you like to try again?


Related Questions in general article writing category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.