How can I find the prime numbers in a one-dimensional array in C++ in a simple way ??
{ int list[5]; int i,sum = 0;