Math, asked by tabasum5512, 11 months ago

Find the highest occurring digit in prime numbers in a range

Answers

Answered by Anonymous
0

Step-by-step explanation:

Find the highest occurring digit in prime numbers in a range. Given a range L to R, the task is to find the highest occurring digit in prime numbers lie between L and R (both inclusive). If multiple digits have same highest frequency print the largest of them. If no prime number occurs between L and R, output -1.

Similar questions