Question: Write a java program that takes in a number N and finds the smallest palindrome prime greater than or equal to N. This should be

 Write a java program that takes in a number N and

Write a java program that takes in a number N and finds the smallest palindrome prime greater than or equal to N. This should be done by creating two methods, one to check if the number is prime and one to check if the number is a palindrome. Sample Input 1 8 Sample Output 1 The next prime palindrome is 11

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!