[solved]-Veliui Bu Marks Deducted Question 1 Chinese Year Name Cycle 12 Years Order Names Following Q38989208
Must be done in bash.
VELIUI. BU then marks will be deducted. Question 1. Chinese have a year name cycle of 12 years. The order of the names is as following: In order, the 12 animals are: Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Goat, Monkey, Rooster, Dog, Pig. So, since 2008 was the year of Rat then 2008+12 = 2020 would again be the year of Rat. Write a bash code which will take input as a year from user e.g. 2008 and output the name in Chinese year. So, in case of 2008 the output would be “2008 was the year of Rat”. You can assume that the user will not ask for a year earlier than 1948. 1948 was the year of Rat. If the user enters a year before 1948, you should display a message saying, “Please enter a year after 1947.” Name of the file should be “Chinese Year”. Show transcribed image text VELIUI. BU then marks will be deducted. Question 1. Chinese have a year name cycle of 12 years. The order of the names is as following: In order, the 12 animals are: Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Goat, Monkey, Rooster, Dog, Pig. So, since 2008 was the year of Rat then 2008+12 = 2020 would again be the year of Rat. Write a bash code which will take input as a year from user e.g. 2008 and output the name in Chinese year. So, in case of 2008 the output would be “2008 was the year of Rat”. You can assume that the user will not ask for a year earlier than 1948. 1948 was the year of Rat. If the user enters a year before 1948, you should display a message saying, “Please enter a year after 1947.” Name of the file should be “Chinese Year”.
Expert Answer
Answer to VELIUI. BU then marks will be deducted. Question 1. Chinese have a year name cycle of 12 years. The order of the names i… . . .
OR

