Input a number & check whether …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Ankit Saha 4 years ago
- 1 answers
Related Questions
Posted by Sameeha _ 3 months, 3 weeks ago
- 0 answers
Posted by Sanchi Kohati 4 months, 1 week ago
- 0 answers
Posted by Manasvi Bhutada 5 months ago
- 1 answers
Posted by S A 4 months, 2 weeks ago
- 0 answers
Posted by Payal Kumari 8 months, 1 week ago
- 0 answers
Posted by Jeevesh Jeevesh 4 months, 4 weeks ago
- 1 answers
Posted by Jaysundar Vc 5 months ago
- 0 answers
Posted by Catherine Tympuiñ 4 months, 1 week ago
- 0 answers
Posted by Catherine Tympuiñ 4 months, 1 week ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Meghna Thapar 4 years ago
A palindromic prime (sometimes called a palprime) is a prime number that is also a palindromic number.
Given a number n, print all palindromic primes smaller than or equal to n. For example, If n is 10, the output should be “2, 3, 5, 7′. And if n is 20, the output should be “2, 3, 5, 7, 11′.
Idea is to generate all prime numbers smaller than or equal to given number n and checking every prime number whether it is palindromic or not.
0Thank You