Search:

Type: Posts; User: SuisseToni

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    1,032

    Re: please help with simple program!!!

    You seem to be on the right lines though there is an example of where English language leads to ambiguity.

    What output are you getting and what output do you expect?

    Suisse
  2. Re: Issue with setting up different class with arrays

    What are you trying to achieve?

    You need to place the initialisation in the constructor.

    A couple of pointers, think about the type you are using. Since you are storing a single character for...
  3. Thread: LOOP ISSUSE

    by SuisseToni
    Replies
    6
    Views
    583

    Re: LOOP ISSUSE

    Sorry I think I might have confused you. I mean that the for loop will terminate early the way you have written it.

    Have you Ran it since correcting the other issue?


    INPUT

    Please Enter...
  4. Thread: LOOP ISSUSE

    by SuisseToni
    Replies
    6
    Views
    583

    Re: LOOP ISSUSE

    When you say…



    what do you mean?
  5. Thread: LOOP ISSUSE

    by SuisseToni
    Replies
    6
    Views
    583

    Re: LOOP ISSUSE

    Hi,

    This one is subtle and took me a minute or two of looking.

    There is a difference between

    i=+10 // Assigns the value 10 to i == (i = 10)

    and
  6. Replies
    3
    Views
    514

    Re: help with homework - simple arrays

    HI,

    I notice that there are two of you with the same assignment.




    //…Stuff
    System.out.println("Enter values for first set, ending with -1");
Results 1 to 6 of 6