Main.cc: In function 'int main()':
Main.cc:6:13: error: 'a' was not declared in this scope
for(j=1;a<5000;j++){
^
Main.cc:8:19: error: expected primary-expression before '%' token
a=a-a*%5;
^
Main.cc:5:9: warning: unused variable 'i' [-Wunused-variable]
int i=100000,j;
^