Main.cc: In function 'int main()':
Main.cc:7:5: error: expected ',' or ';' before 'bool'
bool fiag=true;
^
Main.cc:10:15: error: 'fiag' was not declared in this scope
fiag=0;
^
Main.cc:15:9: error: 'fiag' was not declared in this scope
if(fiag)cout<<"Yes"<