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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 4 of 4

Thread: Java Program Help!!!!!!

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Java Program Help!!!!!!

    Hiiii Everyone!!

    I'm hoping there's someone here that can help solve this java program of mines. I need to write a java program for a school project on a school election. I'm a beginner at java programming.

    I need the program to do these things:
    ----------------------------------------------------------------------------------------------------------------------------------------
    Input:
    Details of the Candidates eg. Name, Surname, Address, and Telephone number.

    Grade of the class, and the names of all the students in the class.

    Name of educator and contact details.

    Process:

    Counting all votes per a candidate.

    Sort the votes from highest to lowest.

    Calculate the statistics in percentage form.

    Search for candidates details.

    Search for the names of candidates and who they were nominated by.

    Calculate the 2nd and 3rd place winners.

    Output:

    Display the number of votes with candidates’ names.

    Display all details of a candidate.

    Display results from highest to lowest.

    Display the results in percentage form.

    Display the total number of votes.
    ----------------------------------------------------------------------------------------------------------------------------------------

    I've got the Input part done just the rest is really tough to get around, I'd really appreciate any help!

    Thank You..


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java Program Help!!!!!!

    How does "What's wrong with my code" fit this question? What code?

  3. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Program Help!!!!!!

    Damn!! I posted this under the wrong place my bad!! I'm new to this forum!

    Sorry...

  4. #4
    Member
    Join Date
    May 2011
    Location
    west palm beach, FL
    Posts
    189
    My Mood
    Tired
    Thanks
    41
    Thanked 11 Times in 10 Posts

    Default Re: Java Program Help!!!!!!

    so you have 1/3 of it done already thats a good start...now just break down the process part into each section and come up with a solution one at a time

    for the first one you could say give each candidate a variable and every time someone votes for that candidate add 1 to the value of the variable

Similar Threads

  1. Invoke a Java program with windows program
    By jackhard in forum Object Oriented Programming
    Replies: 1
    Last Post: February 21st, 2013, 07:16 AM
  2. convert java program to java ME program
    By abhishek1212 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: February 4th, 2013, 03:22 PM
  3. [SOLVED] Write a java program to display even numbers between 2 and 200 using netbeans java
    By Shalom in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 11th, 2012, 05:16 AM
  4. Replies: 1
    Last Post: July 8th, 2012, 10:23 AM
  5. how to run a java program..when the program using jar
    By miriyalasrihari in forum Java Theory & Questions
    Replies: 2
    Last Post: May 17th, 2012, 10:04 AM