For what value of n would g(57,n) return 7? def g(m,n): res = 0 while m >= n: res = res+1 m = m-n return(res)
n=8,g(57,8)=7n=8,g(57,8)=7n=8,g(57,8)=7
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments