[Jprogramming] tacit example ?

Sherlock, Ric R.G.Sherlock at massey.ac.nz
Mon Jun 29 09:42:25 HKT 2009



> From: Ed Keith
> 
> I'm not sure how you define a palindrome integer, but none of the
> example given identify 090 (which is the same as 90) as being a
> palindrome. I'm not sure weather or not this is correct.
 
Probably depends on the specifications the original poster has for his problem, but in my opinion 090 is not a valid integer. If you wanted 090 to be accepted then you'd have to give it as character input '090', otherwise J will automatically change it to 90.



More information about the Programming mailing list