Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN C++ PLEASE 2. Write an astrology program. The user type in a birthday (month and day), and the program responds with the sign and
IN C++ PLEASE
2. Write an astrology program. The user type in a birthday (month and day), and the program responds with the sign and horoscope for that birthday. The month may be entered as a number from 1 to 12. The day can be from 1 to 31. This program will have at least one switch statement. Make up a horoscope for each sign. Your program should include a loop that lets the user repeat this calculation until the user says she or he is done. The horoscope signs and dates are: Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius Capricorn Aquarius Pisces March 21 April 19 April 20 May 20 May 21 June 21 June 22 - July 22 July 23 - August 22 August 23 September 22 September 23 - October 22 October 23 - November 21 November 22 December 21 December 22 January 19 January 20 February 18 February 19 - March 20 Sample runs: Enter month (1...12): 1e Enter day (1...31) 2 proscope sign is Libra Sophisticated, sociable, Popular, Diplomatic, Adaptive, Aggressive, Rational ontinue (Y- yes or N - no)? y Enter month (1.. .12): 6 nter day (1. 31): 10 oscope sign is Gemini - Versatile, Adapting to Change, Devoted, Witty, Charming ontinue (Y - yes or N - no)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started