Main.cc:3:19: error: 'b' has not been declared
int vsandpk(int a,b,man){
^
Main.cc:3:21: error: 'man' has not been declared
int vsandpk(int a,b,man){
^
Main.cc: In function 'int vsandpk(int, int, int)':
Main.cc:5:11: error: 'b' was not declared in this scope
if(a*i&&b*i){
^
Main.cc:6:4: error: 'man' was not declared in this scope
man=i;
^
Main.cc:9:8: error: 'man' was not declared in this scope
cout<