How do i do this program???
Create an array that will Input a year (valid years are starting from 1900 onwards) then output the index number and the animal sign of the entered year. These are the sequence of the animal signs: RAT, OX, TIGER, RABBIT, DRAGON, SNAKE, HORSE, SHEEP, MONKEY, ROOSTER, DOG, PIG.
Sample output:
Enter a year: 1200
<<VALID INPUT STARTS AT 1900>>
Enter a year: 1984
The index number is 0
The animal sign of a person born in the year 1984 is "RAT"
process completed.
how do i do this? so confusing ..this is an activity in my school. Hope you can help me thanks !






