Question: Problem b (PA4b.java) Write an astrology program. The user will give their birthday as a month number (1-12) and then a day number (1-31). Your
Problem b (PA4b.java) Write an astrology program. The user will give their birthday as a month number (1-12) and then a day number (1-31). Your program will then output the person's astrological sign on one line, and then a horoscope for the user on the next. You may make up whatev sign. Here are the sign dates: er horoscope you want for each different Start Date March 21 April 20 May 21 June 22 July 23 August 23 September 23 October 23 November 22 December 22 January 20 February 19 Sign End Date April 19 May 20 June 21 July 22 August 22 September 22 October 22 November 21 December 21 January 19 February 18 Aries Taurus Gemini Cancer Leo 0 Libra Scorpio Sagittarius Capricorn Aquarius Pisces March 20 and here is an example execution: Enter your birth month (1-12): 9 Enter your birth day (1-31): 26 You are a Libral Tony Stark will buy out your business. You will need to use a long set of if and else if statements. You will either need to use compound expressions (combining expressions with the "and" and "or operators) or have nested if statements (if statements inside of if statements). To get started, try to get one or two of the signs correct first, then try to make it work for the rest. You should verify that the month is between 1 and 12 and the day is between 1 and 31, but you don't need to check the day for specific months
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
