Question: java Lab 04 What is your Zodiac? Objective: Write a program that determines a person's astrological zodiac sign based on their birthday Prompt the user

 java Lab 04 What is your Zodiac? Objective: Write a program

java

Lab 04 What is your Zodiac? Objective: Write a program that determines a person's astrological zodiac sign based on their birthday Prompt the user for a month and then a day The month and day have to be valid o Month: 1-12 0 Day: 1-31 - You do not have to check if it the date is rcal. Such as April 31 is not a real date. That's a wholc different problem, Then determine the person's zodiac symbol 0 Aries = March 21 to April 19 o Taurus - April 20 to May 20 o Gemini = May 21 to June 20 . Cancer = Junc 21 to July 22 o Lco = July 23 to August 22 Virgo = August 23 to September 22 o Libra - September 23 to October 22 o Scorpio = October 23 to November 21 o Sagittarius = November 22 to December 21 o Capricorn = December 22 to January 19 Aquarius = January 20 to February 18 o Pisces - February 19 to March 20 . If the data was incorrect (like April 31*) then you do not have to print out anything, Example Dialog: What is your zodiac? Enter your birthday! Month followed by Day! 6 22 You are a cancer! Another Example Dialog: What is your zodiac? Enter your birthday! Month followed by Day! -6 22 Invalid month or day

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!