Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2003
    Thanked 0 Times in 0 Posts

    Unhappy Help me... it's urgent!

    Hi.. can anyone pls help me to write the source code to do the calculation for this:
    I am writing an applet Horoscope.java that will help people to calculate the chinese horoscope by entering their year, month and day of birth. Below is the following knowledge to share:
    There are 12 Horoscopes and their orders are ranked as such: Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Goat, Monkey, Rooster, Dog and Pig. As 4th and 5th of Feb are the special days for the start of the spring that will determine your Chinese Horoscope, you need to get your birth time ready and consult the Master in person. The cycle will repeat itself after evry 12 years. The following table gives the detailed period each horoscope covers.

    Clear period for Horoscope Horoscope
    Born between 6 Feb 1960 to 3 Feb 1961 Rat
    Born between 6 Feb 1961 to 3 Feb 1962 Ox
    Born between 6 Feb 1962 to 3 Feb 1963 Tiger
    Born between 6 Feb 1963 to 3 Feb 1964 Rabbit
    Born between 6 Feb 1964 to 3 Feb 1965 Dragon
    Born between 6 Feb 1965 to 3 Feb 1966 Snake
    Born between 6 Feb 1966 to 3 Feb 1967 Horse
    Born between 6 Feb 1967 to 3 Feb 1968 Goat
    Born between 6 Feb 1968 to 3 Feb 1969 Monkey
    Born between 6 Feb 1969 to 3 Feb 1970 Rooster
    Born between 6 Feb 1970 to 3 Feb 1971 Dog
    Born between 6 Feb 1971 to 3 Feb 1972 Pig
    Born between 6 Feb 1972 to 3 Feb 1973 Rat
    -----Cycle repeating---- --

    Use layout manager, graphical components and a method calHoroscope() to calculate the Horoscope of the customers.

  2. #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Sydney, Australia
    Thanked 1 Time in 1 Post
    This belongs in the Programming forum. Javascript is not Java!
    Omnis mico antequam dominus Spookster!

  3. #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Marion, IA USA
    Thanked 84 Times in 83 Posts
    Also vyntage you need to read the posting guidlines before creating anymore threads in our forums. Especially read part 2:

    CodingForums Supreme Overlord
    All Hail Spookster

  4. #4
    Regular Coder
    Join Date
    Dec 2002
    the windy city
    Thanked 0 Times in 0 Posts

    Re: Help me... it's urgent!

    Originally posted by vyntage
    I am writing an applet Horoscope.java
    Use layout manager, graphical components and a method calHoroscope() to calculate the Horoscope of the customers.
    I am sorry but you are not writing anything at all! You are asking people to do it for you. if you were in fact writing, you'd post your code here to begin with.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts