[font=Comic Sans Ms]my problem is that i should output the Chinese zodiac sign of the person who will input their birthday.. for example may birthday is july 26,1990 it should output that i belong to the year of the horse.. what should i do with it? here are the years and corresponding zodiac sign
DOG – (1958, 1970, 1982, 1994, 2006, 2018)
PIG – (1959, 1971, 1983, 1995, 2007, 2019)
RAT – (1960, 1972, 1984, 1996, 2008, 2020)
OX - (1961, 1973, 1985, 1997, 2009, 2021)
TIGER - (1962, 1974, 1986, 1998, 2010, 2022)
RABBIT – (1963, 1975, 1987, 1999, 2011, 2023)
DRAGON – (1964, 1976, 1988, 2000, 2012, 2024)
SNAKE – (1965, 1977, 1989, 2001, 2013, 2025)
HORSE – (1966, 1978, 1990, 2002, 2014, 2026)
GOAT – (1967, 1979, 1991, 2003, 2015, 2027)
MONKEY – (1968, 1980, 1992, 2004, 2016, 2028)
ROOSTER – (1969, 1981, 1993, 2005, 2017, 2029)
QUOTE(glen16 @ 5 Aug, 2008 - 09:17 PM)

[font=Comic Sans Ms]my problem is that i should output the Chinese zodiac sign of the person who will input their birthday.. for example may birthday is july 26,1990 it should output that i belong to the year of the horse.. what should i do with it? here are the years and corresponding zodiac sign
DOG – (1958, 1970, 1982, 1994, 2006, 2018)
PIG – (1959, 1971, 1983, 1995, 2007, 2019)
RAT – (1960, 1972, 1984, 1996, 2008, 2020)
OX - (1961, 1973, 1985, 1997, 2009, 2021)
TIGER - (1962, 1974, 1986, 1998, 2010, 2022)
RABBIT – (1963, 1975, 1987, 1999, 2011, 2023)
DRAGON – (1964, 1976, 1988, 2000, 2012, 2024)
SNAKE – (1965, 1977, 1989, 2001, 2013, 2025)
HORSE – (1966, 1978, 1990, 2002, 2014, 2026)
GOAT – (1967, 1979, 1991, 2003, 2015, 2027)
MONKEY – (1968, 1980, 1992, 2004, 2016, 2028)
ROOSTER – (1969, 1981, 1993, 2005, 2017, 2029)
p.s. i'm using c language not c++