Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Astrology Java Program- a tough question

843789Feb 26 2010 — edited Feb 26 2010
I need someone to help me in my project...here is the question:

Write an astrology program. The user types in his or her birthday(month,day,year),
and the program responds with the user's zodiac sign, the traits associated with each sign
the user's age(in years,months,day), the animal sign for the year(e.g., Year of the Pig,
Year of the Tiger), the traits associated with each animal sign, and if the year is a leap
year or not. The dates covered for each sign can be searched through the horoscope section
of a newspaper or through the internet. Then enhance your program so that if the user is one
or two days away from the adjacent sign, the program outputs the nearest adjacent sign as well
as the traits associated with the nearest sign. The month may be entered as a number from 1 to 12
or in words, i.e.,January to December. Limit the year of the birthday from 1900 to 2010 only.
The program should allow the user to repeat the entire process as often as desired.
You can use this imports:

import java.text.DateFormat;
import java.util.Date;
import java.util.Calendar;

thanks for your reply! I am hoping for your kind consideration!

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 26 2010
Added on Feb 26 2010
3 comments
494 views