0
can someone help me print result for this function?
foo(int[] x, int a, int b, int c, int d) int k = d int ct = 0 while k > c-1 if x[k] <= b and not (x[k] <= a) ct = ct + 1 end k = k - 1 end return ct end print the result for this : int[] x = [11, 10, 10, 5, 10, 15, 20, 10, 7, 11] print(foo(x,8,13,3,6))
1 Resposta
+ 1
I tried , you can check if you know the answer.
https://code.sololearn.com/cnzfOwddKW1Y/?ref=app