Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-01-2003, 10:39 AM   PM User | #1
vyntage
New to the CF scene

 
Join Date: Mar 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
vyntage is an unknown quantity at this point
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.
vyntage is offline   Reply With Quote
Old 04-01-2003, 10:53 AM   PM User | #2
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
This belongs in the Programming forum. Javascript is not Java!
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Old 04-01-2003, 01:48 PM   PM User | #3
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,233
Thanks: 4
Thanked 81 Times in 80 Posts
Spookster will become famous soon enough
Also vyntage you need to read the posting guidlines before creating anymore threads in our forums. Especially read part 2:

http://www.codingforums.com/postguide.htm
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 04-02-2003, 10:03 PM   PM User | #4
DoubleV
Regular Coder

 
Join Date: Dec 2002
Location: the windy city
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
DoubleV is an unknown quantity at this point
Re: Help me... it's urgent!

Quote:
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.
vyntage,
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.
DoubleV is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:09 PM.


Advertisement
Log in to turn off these ads.