Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 dayStep 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