Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Chinese Zodiac is based on a 1 2 - year cycle. Each year within a 1 2 - year period is represented by a
The Chinese Zodiac is based on a year cycle. Each year within a year period is
represented by a different animal. The first year ie year is the year of the monkey,
with the second year ie year being the year of the rooster. This continues until the
th year ie year which goes back to monkey. Write a program that prompts the
user to enter a year and outputs the animal in the Chinese Zodiac for the year. There is
an image to show the Chinese Zodiac signs and some of the years. Note that you will
need it to work for any year, not just the ones listed in the image below.
Step 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