int main(void)
{
int num=0;
int i=0;
cout<<"num";
cin>>num;
while(i
Not a master of the language but the error might be that you are dividing by zero. Not sure how C++ handles that off the top of my head.
jasweb2002
Junior Poster in Training
56 posts since Sep 2004
Reputation Points: 11
Solved Threads: 2