Main.cc: In function 'int main()':
Main.cc:26:2: error: 'b2' was not declared in this scope
b2 = 0;
^
Main.cc:27:2: error: 'b3' was not declared in this scope
b3 = 0;
^
Main.cc:28:2: error: 'b4' was not declared in this scope
b4 = 0;
^
Main.cc:29:35: warning: unknown conversion type character 0xa in format [-Wformat=]
printf("%.2f%\n", b1 / n * 100.0 );
^