Computer Science, asked by whatever2610, 8 months ago

1 - int g (int x, int y) {
2
switch(x - y) {
3
case 0:
o
4
return x;
5 case 4:
6
y = y + 1;
7
break;
8 case 7:
9
x = x - 1;
10 case 9:
9
11
return x*y;
case 3:
13
y = x + 9;
14 default:
15 return y - xs
16 3
17
return y;
18 3
What does g(9,5) evaluate to?​

Answers

Answered by lovelypusycat37
1

Answer:

your question is not clear and make it clear that this cannot be answered by our sorry

Answered by deepesharya1205
1

g(9, 5) =y+1=6

case 4 runs and then break

Similar questions