Skip to content

Commit 94a7fd6

Browse files
Update PrimePal.java
1 parent 45539c9 commit 94a7fd6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Number Theory/PrimePal.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
Write a program to check a number for palindrome prime.
3+
4+
Palindrome - A palindromic number is a number (such as 16461) that remains the same when its digits are reversed.
5+
Prime - a whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1
6+
*/
7+
18
import java.io.*;
29
import java.util.*;
310
public class PrimePal

0 commit comments

Comments
 (0)