4. Zodiac Signs4. Zodiac Signs
We all love horoscopes, don't we? But I have a serious problem in this Horoscope App installed on my Smart Phone that it only displays the icon of the Zodiac Sign for each day's horoscope. Now, I do remember my horoscope, but its hard to remember other's whose horoscope I am interested in.
Challenge
So here is your challenge for an another addition to the ASCII Art of the Day series. Given a date and month input, output the corresponding Zodiac sign in ASCII format as shown below. Each Zodiac Sign is followed after the name and date range (DD MM format) for the zodiac sign.
Aries - 21 03 - 20 04 .-. .-. (_ \ / _) | | Taurus - 21 04 - 20 05 . . '.___.' .' '. : : : : '.___.' Gemini - 21 05 - 20 06 ._____. | | | | _|_|_ ' ' Cancer - 21 06 - 20 07 .--. / _'. (_) ( ) '. / '--' Leo - 21 07 - 20 08 .--. ( ) (_) / (_. Virgo - 21 08 - 20 09 _ ' ':--.--. | | |_ | | | ) | | |/ (J Libra - 21 09 - 20 10 __ ___.' '.___ ____________ Scorpio - 21 10 - 20 11 _ ' ':--.--. | | | | | | | | | ... '---': Sagittarius - 21 11 - 20 12 ... .': .' '..' .''. Capricorn - 21 12 - 20 01 _ \ /_) \ /'. \ / : \/ __.' Aquarius - 21 01 - 20 02 .-"-._.-"-._.- .-"-._.-"-._.- Pisces - 21 02 - 20 03 '-. .-' : : --:--:-- : : .-' '-.
Input
- You would be provided two integers corresponding to the date of month and month of year (in that order) of the birthday.
- The date and month will be
1 indexed like in normal calendars. - You can take input form STDIN/ARGV/function arguments or the latest equivalent
Output
- Based on what date range the input date falls in, output to STDOUT, the corresponding Zodiac Sign.
- You can have upto 4 trailing spaces in each line but no leading spaces that are not part of the output.
- You can either write a full program or a named function.
This is code-golf so the shortest code in bytes wins!