int g (int x, int n) {
for (int i = 0; i < n; i++) {
if (i % 2 == 0) {
x *= i + 1;
continue;
}
x--;
if (x == 0) {
break;
}
}
return x;
}
What does g(1, 3) evaluate to?
Answers
Answered by
0
Answer:
tan30=
CD
AC
=>
CD
AC
=
3
1
=>LetAC=x,CD=x
3
AE=AC+CE=x+25
sin45=
2
1
=
AB
AE
=>
75
x+25
=
2
1
=> x=
2
75
2
−50
=27.85m
=> AC=27.85m,CD=48.18m
AD=
AC
2
+CD
2
=55.67m = lenght of string of second boy
solution
Answered by
1
Answer:
g(1,3) evaluates to zero
Similar questions