Question: Make sure to add comments to the code . The Chinese Zodiac year is usually found based on twelve year cycle. Write a Matlab script
Make sure to add comments to the code .
The Chinese Zodiac year is usually found based on twelve year cycle. Write a Matlab script that prompts the user to enter a year. The program should call a method called getZodiac that returns the name of the year. Zodiac year is based on the following table: 0 Monkey 1 Rooster 2 Dog 3 Pig 4 Rat 5 Ox 6 Tiger 7 Rabbit 8 Dragon 9 Snake 10 Horse 11 Sheep Enter Year: 1963 Zodiac year is Rabbit Enter Year : 1877 Zodiac year is Ox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
