prog.cpp: In function ‘int main()’:
prog.cpp:8:6: error: redeclaration of ‘int y’
int y = 0;
^
prog.cpp:5:8: error: ‘int y’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:9:6: error: redeclaration of ‘int r’
int r = x + 7;
^
prog.cpp:5:11: error: ‘int r’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:10:5: error: redeclaration of ‘int t’
int t = 4;
^
prog.cpp:5:14: error: ‘int t’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:11:5: error: redeclaration of ‘int f’
int f = x*x;
^
prog.cpp:5:17: error: ‘int f’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:12:5: error: redeclaration of ‘int g’
int g = -2 * x + 8;
^
prog.cpp:5:20: error: ‘int g’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:13:5: error: redeclaration of ‘int u’
int u = 0;
^
prog.cpp:5:23: error: ‘int u’ previously declared here
int x, y, r, t, f, g, u = 0;
^
prog.cpp:18:15: error: expected primary-expression before ‘=’ token
}else if (x < = -3 || x <= -2){
^