Search:

Type: Posts; User: vivjo

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,498

    Re: I need help with while loop.

    "Change this"
    scores=1;


    Before( scores>0)

    & is Bitwise And Operator
    Use && and it would work
    if(a>b && a>c)
    The code is working fine
  2. Replies
    4
    Views
    1,498

    Re: I need help with while loop.

    Hey,
    how wiil the while loop termimates ,

    the variable score never changes after inputting from keyboard and moreover to put a series of scores use "Input Statement" within While
    Hope this...
  3. Replies
    2
    Views
    1,772

    Re: Comparing similar elements in an array

    Hey!
    Did you try using the String1.compareTo(String2) while using for loop to check all the occurences.
    Hope this helps
    Cheers
Results 1 to 3 of 3