NEED A PROGRAM DONE!

Need someone to do this program please.

Write a program that reads in a 3x3-element array of numbers. Have the user enter values into the array and then have the program choose one of them at random. Using the index of this element, make the program print all the pairs of prime numbers whose sum is the value of the specified value in the array.

Thanks.
Just did it, a question, though. Repeated pairs are allowed? For example is 23,5 the same as 5,23?
Topic archived. No new replies allowed.