Subprogramul f este definit alăturat. Indicați valoarea f(4770777,7).
int f (int n, int k)
{ if (n!=0)
if(n%10==k) return 1+f(n/10,k);
return 0; }
imi poate explica cineva?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.