Write a program that asks a user for their name and birthday (formatted as an 8 digit
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Posted Date: