
-----------------------------------
amir20001
Thu Feb 11, 2010 10:48 pm

problem with prime numbers
-----------------------------------
[code]
#include 

using namespace std;

int main()
{
    int max=999; // set the size of the array
    bool prime [max];
    int num[max];
    for (int i=-1;i