Computer Science, asked by krishnasangeeth07, 7 months ago

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 sonamnabi
0

Answer:

sorry but I don't understand your question

Similar questions