Im trying to do this problem to find the largest palindrome made by multiplying two 3-digit numbers
Link:
http://projecteuler.net/index.php?section=problems&id=4
Anyhoo, can some one tell me what's wrong with this line:
pal2=pal1.charAt(5)+pal1.charAt(4)+pal1.charAt(3)+ pal1.charAt(2)+pal1.charAt(1)+pal1.charAt(0)
im getting an incompatible types error....