y = 0;
should be
int y = 0;
because y
has not yet be declared at this point and you are defining a variable.
3
solved ‘y’ was not declared in this scope,
y = 0;
should be
int y = 0;
because y
has not yet be declared at this point and you are defining a variable.
3
solved ‘y’ was not declared in this scope,