Problem

Write an astrology program. The user types in a birthday, and the program responds with th...

Write an astrology program. The user types in a birthday, and the program responds with the sign and horoscope for that birthday. The month may be entered as a number from 1 to 12. Then enhance your program so that if the birthday is only one or two days away from an adjacent sign, the program announces that die birthday is on a “cusp” and also outputs die horoscope for that nearest adjacent sign. This program will have a long multiway branch. Make up a horoscope for each sign. Your program should include a loop that lets die user repeat this calculation until die user says she or he is done.

The horoscope signs and dates are:

Aries                                March 21-April 19

Taurus                             April 20-May 20

Gemini                           May 21-June 21

Cancer                             June 22-July 22

Leo                                  July 23-August 22

Virgo                               August 23-September 22

Libra                               September 23-October 22

Scoipio                            October 23-November 21

Sagittarius                       November 22-December 21

Capricorn                       December 22-January

Aquarius                         19 January 20-February 18

Pisces                              February 19-March 20

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 3
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT