Andrew likes to solve problems on arrays and while practicing he came across a problem. The problem is given N [number of elements] please write a program to find the duplicate number in the array which is also prime. Help Andrew solve this problem by writing code for it as he needs your help. [10]
Sample Run:
Input:
Enter number of elements: 10
Enter elements: 2 4 6 8 10 2 4 5 9 10
Output:
2
Attachments:
Answers
Answered by
0
Answer:
sorry but I don't understand your question
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
English,
7 months ago
Hindi,
7 months ago
Math,
1 year ago
Political Science,
1 year ago