Error

#include <iostream>
#include <stdlib.h>


using namespace std;

int main(int argc, char *argv[])
{int a,b=1,c=1,d=1;
cin>>a;
while(c<a){
while(b<c){
if(c%b!=0){
d++;
if(d!=2) cout<<c;}
c++;
b++;
}





system("PAUSE");
return 0;
}
I keep getting this error:26 C:\Dev-Cpp\prime number.cpp
parse error at end of input
how can i fix it thank you.
Count how many of these you have: {

Now count how many of these you have: }
Topic archived. No new replies allowed.