I need to write a program that can find and print all the 3-digit palindromic prime numbers. Palindromic numbers are numbers that are the same forward and backword.
Since there is no pattern in these numbers, I'm just gonna test every number from 100 to 999 with a FOR-TO-DO loop. I need to test palindromes of each other.
So basically is there any way to give a variable a string value such as '343' and convert it to the integer, 343 or the real, 343.0?
Any help would be greatly appreciated.