Question: Write a program that asks a user for their name and birthday (formatted as an 8 digit number). From the birthday, you will write functions

Write a program that asks a user for their name and birthday (formatted as an 8 digit number). From the birthday, you will write functions that calculates their age and figures out their zodiac sign.

Your program should contain at least three functions:

Main (): will receive user input, pass it into the calculate Age () and get Zodiac () function and print the result.

Calculate Age (): will receive arguments (# to be determined by you) to calculate and return the age.

Get Zodiac (): will receive arguments (# to be determined by you) to assign and return a zodiac sign as a string.

Step by Step Solution

3.21 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Lets develop a Python program with three functions main calculateage and getzodiac Ill out... View full answer

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 Programming Questions!