Main.cc: In function ‘int main()’:
Main.cc:6:26: error: ‘n’ was not declared in this scope
for (int i = 1; i <=n; i++) {
^
Main.cc:10:26: error: ‘n’ was not declared in this scope
for (int j = 1; j <=n; j++) {
^
Main.cc:14:26: error: ‘n’ was not declared in this scope
for (int k = 1; k <=n; k++) {
^
Main.cc:16:16: warning: comparison of constant ‘5’ with boolean expression is always true [-Wbool-compare]
if(0