Search:

Type: Posts; User: Staticity

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,391

    Re: Help with while loop

    Here's a tip:

    Your output is this (_ is the equivalent to a space):

    1__The_sum_is:_6

    And inside your println parameters you have..

    input.charAt(length-length) + " " + Addition(length,...
  2. Replies
    4
    Views
    1,391

    Re: Help with while loop

    IF you look at the first thing you put in this Print statement:
    "input.charAt(length-length)" -> no matter the value of length, the value of "length-length" will be 0.

    Therefore, you will print...
Results 1 to 2 of 2