0

My problem is that i have three functions and they are calling each other. Then i get an error that function was not declared in scope.

int X {
  y = Y();
  return y+10;
}

int Y {
  z = Z();
  return z+15;
}

int Z {
 x = X();
 y = Y();
 return x+y;

How to solve it?

0 Answers0