Posted by: MrNobody July 25, 2007
Login in to Rate this Post:
0
?
ok to check if the number is "emrip" or not do the following task-
1. check if the number is prime or not.
2. if the number is prime then reverse it.. like if 37 is the input its reverse will be 73.
3. check if the reverse number is prime too. if it is, then the number is "emrip" otherwise its prime only.
things look pretty easy.... so try iy