thanks a lot
--- Update ---
i tried what you suggest me to do .and got rid of the m method .but i got red mark under the return count,
how can i solve it?thanks again
public static int...
Type: Posts; User: eyalfish
thanks a lot
--- Update ---
i tried what you suggest me to do .and got rid of the m method .but i got red mark under the return count,
how can i solve it?thanks again
public static int...
it doesnt work for me;/
but why cant i do this with the m(sum) method.it should work and i dont have compile error
but something isnt work out.
thanks anyway
for example i put 10 and 20.i check the range of the numbers from 10 to 20 include.
and i need to output the number that his sum of his digits is the highest from all the numbers from 10 to 20.
...
for example if i put 10 and 20.
it will output 19.since 19 is the biggest number from 10 to 20.
the sum of his digits i mean
Hi, i am a beginner in java and i need some help.
my program should take 2 integers and find their range and output the biggest number(sum of his chars)
btw i dont have compile error but after i...