Hi Neeba Rebbaca ,
Welcome to the Ranch. We are happy to have you here
We encourage everybody to try out things on their own because that is the best way to learn things.
Check out this link. It will give you more information on how to extract the most of the ranch members.
http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch So why don't you tell us what you have tried out so far and we can take it up from there?
Which part are you stuck at? The approach to solve this problem? The logic? The code?