Search:

Type: Posts; User: Java'88

Search: Search took 0.21 seconds.

  1. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    Thats why I was getting that horrible error #-o

    I was pass the value of highest vote as the index value for enteredNames but enteredNames's index only goes up to 4.

    Now the program is complete....
  2. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    Thats what I was think too, when I said "I know what is needed to find the winner of the election."



    I can find the highestvote but finding or passing the index of the max votes is what I need...
  3. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    So far everything is good. Just finding the winner of the election is the only thing left before the program is complete. I know what is needed to find the winner of the election, but I just don't...
  4. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    Snice you have remove those methods what should I do with those two line of code? If I remove them I get lots of errors and if I keep them, Eclipse ask back for the method that you removed.



    ...
  5. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    I'm not really sure where I can substitute your code as I getting lots of error when I do substitute in this part of the program:



    ..........
    public String[] readNames()

    {
    ...
  6. Replies
    12
    Views
    6,003

    [SOLVED] Re: My Voting Program

    Okay, but what about the candidate's name and vote. As you can see I have to first ask for the names then again for the votes, which doesn't fit the description of program or the sample of how it...
  7. Replies
    12
    Views
    6,003

    [SOLVED] Type casting error in Voting java program

    Description of what the program should do:


    The program should allow the user to enter the last names of five candidates in a local election and
    the votes received by each candidate.
    The...
  8. Replies
    4
    Views
    516

    Re: Java'88 saying hello to all :)

    Thank you.

    Great forum :-bd, just the forum I need to help me with my Java :cool:
  9. [SOLVED] Re: My Division Problem

    Yes, that make sense for me, Thanks :D
  10. Replies
    4
    Views
    516

    Re: Java'88 saying hello to all :)

    Thank you :D
  11. [SOLVED] Re: My Division Problem

    Thank very very much for your help Freaky Chris and hellooworld922. :-bd:-bd

    Yes, mod operater was not allowed, thats what made this challenge really difficult for me.

    The method below had to...
  12. [SOLVED] Java program to write a code to detect divisibility of any number by 11

    Introduction to my problem:

    I have to code a program that ask for the user to enter a positive integer and then I have to find if the value that was enter is divisible by 11 (with no remainder)...
  13. Replies
    4
    Views
    516

    Java'88 saying hello to all :)

    Hello to the javaprogrammingforums :D

    I'm Java'88 and i'm from England. I've recently started learning Java and I'm using Eclipse :-bd.

    hopefully, with the help from this great community I'll...
Results 1 to 13 of 13