We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24eecec commit 215f604Copy full SHA for 215f604
Misc/PalindromicPrime.java
@@ -32,7 +32,7 @@ public static void funtioning(int y){
32
int num = 2;
33
while(count < y){
34
if(prime(num) && num == reverse(num)){ // number is prime and it's reverse is same
35
- count++; // counts check when to terminate while loop
+ count++; // check when to terminate while loop
36
System.out.print(num + "\n"); // Print the Palindromic Prime
37
}
38
num++; // inrease iterator value by one
0 commit comments