Computer Science, asked by joyvegeto116, 1 month ago

int f (int x, int y) {
if (x + 2 < y) {
x = x + 3;
return y * x;
}
else {
return x + y + 2;
}
}
What does f(5, 7) evaluate to?

Answers

Answered by llivdeep
2

Answer:

int f (int x, int y) {

if (x + 2 < y) {

x = x + 3;

return y * x;

}

else {

return x + y + 2;

}

}

What does f(5, 7) evaluate to?

Similar questions