Question: Write a program that implements a function called get Zodiac() that will use the input of birth day and month to tell a users Zodiac
Write a program that implements a function called get Zodiac() that will use the input of birth day and month to tell a users Zodiac sign.
Your program should contain two functions:
main(): will receive user input, pass it into the getZodiac function and print the result
getZodiac(): takes two arguments for day and month and returns the name of the zodiac sign as a string
Sample input/output:
What's your name?Laura Spelman
What is your dob? mmdd 0123
Hello Laura Spelman
Oooh you are a(n) Aquarius !
The Zodiac dates are as follows:
#aries 3/21 - 4/19
#taurus 4/20 - 5/20
#gemini 5/21 - 6/20
#cancer 6/21 - 7/22
#leo 7/23 - 8/22
#virgo 8/23 - 9/22
#libra 9/23 - 10/22
#scorpio 10/23 - 11/21
#sag 11/22 - 12/21
#cap 12/22 - 1/19
#aquarius 1/20-2/18
#pisces 2/19 - 3/20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
