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,...
Type: Posts; User: Staticity
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,...
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...