Main.cc: In function ‘int max(int, int, int)’: Main.cc:6:9: error: ‘y’ was not declared in this scope if (y>max_val) { ^ Main.cc:9:9: error: ‘z’ was not declared in this scope if (z>max_val) { ^