Computer Science Archive: Questions from November 22, 2022
-
2 answers
-
its using parent and child method in c, the son run the algorithm the parent use wait, when child is done the parent return the results. for this to be done there must be a tread sharing their memory
Dado el siguiente algoritmo con n siendo un numero entero posittivo: \[ n=\left\{\begin{array}{ll} \frac{n}{2} & \text { si } n \text { es par } \\ 3 n+1 & \text { si } n \text { es impar } \end{array0 answers