Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Java code assistance

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Thanked 0 Times in 0 Posts

    Default Java code assistance

    Dear Team

    I'm new to java and learning, I need help to complete one of my assignment it's due urgently

    I have a task and need to write a program to assist with the scoring of a surfing competition. The organizers at this point are unsure of the exact number of judges or competitors, but they do know that there will be between 2 and 8 judges, and between 3 and 6 competitors. Each competitor is to be given a colour, red, blue, yellow, green, white, or black to compete under. (ie competitor # 1 is red, competitor # 2 is blue, etc. ) The judges enter a score for each competitor, the highest being the number of competitors, the lowest being 1. eg if there are 4 competitors, the winning score is 4, second is 3, third is 2 and forth (last) is 1.

    If there were 4 competitors, a judge’s scorecard could look as follows:

    Judge # 1
    Competitor Red Blue Yellow Green
    Score 2 1 4 3

    This ranks the Yellow competitor 1st, Green 2nd, red 3rd and blue 4th or last.

    At the end of the day, the organizers would like to be able to summarise the scores as follows:
    • A histogram of the number of first places that each competitor scored
    • A table of preferences that shows the number of times each place was awarded to the competitors (ie if competitor Blue was ranked second by three judges, the number 3 should appear in the table for 2nd place for the Blue competitor
    • Total scores for each competitor.

    They would also like to be able to print out the raw data of the final scores.
    Your program should verify all data entered to ensure that only correct data types with in the expected ranges are entered. Your program should also give users the opportunity to choose how they wish to look at the data, and give them the option of looking at it more than once.

  2. #2
    Join Date
    Oct 2013
    Manila, Philippines
    My Mood
    Thanked 64 Times in 61 Posts

    Default Re: Java code assistance

    Hi! Welcome to the forum! Please read Announcements - What's Wrong With My Code?
    what kind of help do you need? Are there any errors in your code?

  3. #3
    Junior Member
    Join Date
    Mar 2014
    Thanked 0 Times in 0 Posts

    Default Re: Java code assistance

    Hi tony1 , you are not supposed to ask for full assignments and projects . First try them yourselves and if you are having problem then mention the example or part of code in which you are having problem, So someone can help you..

Similar Threads

  1. Digital Life Assistance system using JAVA
    By himvais in forum The Cafe
    Replies: 1
    Last Post: August 24th, 2012, 02:12 PM
  2. Programming a DFA in java? need assistance
    By vraj11590 in forum Java Theory & Questions
    Replies: 0
    Last Post: February 4th, 2012, 01:53 PM
  3. Java - Tutorials done now request assistance?
    By mdiz in forum Java Theory & Questions
    Replies: 2
    Last Post: January 11th, 2012, 02:26 PM
  4. Assistance requested in setting up JAVA environment
    By bobcox in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 2nd, 2011, 10:30 AM
    By Neddrick in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 29th, 2010, 08:20 PM